.gfrm-public-profile-page {
    --gfrm-profile-ink: var(--gfrm-ink-1);
    --gfrm-profile-muted: #68707a;
    --gfrm-profile-line: #e2e4e7;
    --gfrm-profile-surface: var(--gfrm-light);
    --gfrm-profile-yellow: var(--gfrm-yellow, var(--gfrm-yellow));
    --gfrm-profile-hero-height-desktop: 132px;
    --gfrm-profile-hero-height-tablet: 110px;
    --gfrm-profile-hero-height-mobile: 96px;
    --gfrm-profile-card-overlap-desktop: -28px;
    --gfrm-profile-card-overlap-tablet: -22px;
    --gfrm-profile-card-overlap-mobile: 0px;
    --gfrm-profile-portfolio-gap: 14px;
    --gfrm-profile-portfolio-card-width-desktop: 360px;
    --gfrm-profile-portfolio-card-width-tablet: 300px;
    --gfrm-profile-grid-row-desktop: 240px;
    --gfrm-profile-grid-row-two: 280px;
    --gfrm-profile-grid-row-tablet: 240px;
    --gfrm-profile-grid-row-mobile: 220px;
    --gfrm-profile-single-max-height: 380px;
    --gfrm-profile-photo-radius: 8px;
    --gfrm-profile-image-fit: cover;
    background: var(--gfrm-white);
    color: var(--gfrm-profile-ink);
}

.gfrm-public-profile-page * {
    box-sizing: border-box;
}

/* HERO — franja sòlida de marca (sense fotografia) */
.gfrm-profile-hero {
    position: relative;
    min-height: var(--gfrm-profile-hero-height-desktop);
    overflow: hidden;
    color: var(--gfrm-white);
    background-color: #090c10;
    background-image:
        radial-gradient(circle at 88% 18%, rgba(91,111,133,.42) 0%, rgba(48,59,72,.22) 27%, rgba(18,23,29,0) 56%),
        linear-gradient(112deg,#030507 0%,#0b0f14 42%,#222c37 100%);
    background-repeat: no-repeat;
    background-size: cover;
}

.gfrm-profile-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: var(--gfrm-profile-hero-height-desktop);
    padding-top: 54px;
    padding-bottom: 14px;
    align-items: flex-end;
}

.gfrm-profile-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.82);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gfrm-profile-hero__kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--gfrm-profile-yellow);
}

/* TARGETA DE PERFIL, superposada a la franja de marca */
.gfrm-profile-overview {
    position: relative;
    z-index: 3;
    background: var(--gfrm-white);
}

.gfrm-profile-card {
    display: grid;
    grid-template-columns: 154px minmax(0, 1fr) minmax(300px, .72fr);
    gap: 28px;
    align-items: center;
    margin-top: var(--gfrm-profile-card-overlap-desktop);
    padding: 30px 32px;
    border: 1px solid rgba(218,221,225,.92);
    border-radius: 18px;
    background: rgba(255,255,255,.985);
    box-shadow: 0 24px 70px rgba(15,19,24,.14);
}

.gfrm-profile-avatar {
    position: relative;
    width: 154px;
    height: 154px;
    align-self: start;
    margin-top: -62px;
    border: 6px solid var(--gfrm-white);
    border-radius: 50%;
    background: #15191e;
    box-shadow: 0 18px 44px rgba(12,15,19,.24);
}

.gfrm-profile-avatar__image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.gfrm-profile-avatar__seal {
    position: absolute;
    right: -2px;
    bottom: 5px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 4px solid var(--gfrm-white);
    border-radius: 50%;
    background: var(--gfrm-profile-yellow);
    color: var(--gfrm-ink-1);
    font-size: .57rem;
    font-weight: 950;
    letter-spacing: -.02em;
}

.gfrm-profile-identity {
    min-width: 0;
}

.gfrm-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}

.gfrm-profile-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--gfrm-profile-yellow);
    color: var(--gfrm-ink-1);
    font-size: .63rem;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.gfrm-profile-badge--light {
    border: 1px solid #dfe2e5;
    background: var(--gfrm-white);
    color: #606770;
}

.gfrm-profile-identity h1 {
    margin: 0;
    color: #101317;
    font-size: clamp(2.25rem, 3.5vw, 4rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.gfrm-profile-tagline {
    max-width: 650px;
    margin: 11px 0 0;
    color: #454b53;
    font-size: 1.02rem;
    font-weight: 650;
    line-height: 1.45;
}

.gfrm-profile-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 10px 0 0;
    color: #717882;
    font-size: .82rem;
}

.gfrm-profile-location svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gfrm-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.gfrm-profile-card .gfrm-profile-action,
.gfrm-profile-empty-portfolio__button,
.gfrm-profile-membership-cta__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    min-height: 42px;
    margin: 0;
    padding: 0 15px;
    border-radius: 7px;
    text-decoration: none;
    text-transform: none;
    line-height: 1;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: 0;
    box-shadow: none;
    background-image: none;
    transform: none;
}

.gfrm-profile-card .gfrm-profile-action::before,
.gfrm-profile-card .gfrm-profile-action::after,
.gfrm-profile-empty-portfolio__button::before,
.gfrm-profile-empty-portfolio__button::after,
.gfrm-profile-membership-cta__button::before,
.gfrm-profile-membership-cta__button::after {
    content: none;
    display: none;
}

.gfrm-profile-action svg,
.gfrm-profile-membership-cta__button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gfrm-profile-action--primary {
    border: 1px solid var(--gfrm-profile-yellow);
    background: var(--gfrm-profile-yellow);
    color: #101317;
}

.gfrm-profile-action--primary:hover,
.gfrm-profile-action--primary:focus-visible {
    border-color: #ffd438;
    background: #ffd438;
    color: #101317;
}

.gfrm-profile-action--secondary,
.gfrm-profile-action--owner {
    border: 1px solid #d9dde1;
    background: var(--gfrm-white);
    color: #242a30;
}

.gfrm-profile-action--secondary:hover,
.gfrm-profile-action--secondary:focus-visible,
.gfrm-profile-action--owner:hover,
.gfrm-profile-action--owner:focus-visible {
    border-color: #aeb4bb;
    background: #f5f6f7;
    color: var(--gfrm-ink-1);
}

.gfrm-profile-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--gfrm-grey-5);
    border-radius: 12px;
    background: #f8f8f7;
}

.gfrm-profile-fact {
    min-width: 0;
    padding: 17px 18px;
}

.gfrm-profile-fact:nth-child(even) {
    border-left: 1px solid var(--gfrm-grey-5);
}

.gfrm-profile-fact:nth-child(n+3) {
    border-top: 1px solid var(--gfrm-grey-5);
}

.gfrm-profile-fact strong,
.gfrm-profile-fact span {
    display: block;
}

.gfrm-profile-fact strong {
    overflow: hidden;
    margin-bottom: 3px;
    color: var(--gfrm-ink-1);
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gfrm-profile-fact span {
    color: #707780;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.gfrm-profile-fact--membership strong {
    color: #9b7200;
}

/* ABOUT + DETAILS */
.gfrm-profile-about {
    padding: 82px 0 78px;
    background: var(--gfrm-white);
}

.gfrm-profile-about__layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: start;
}

.gfrm-profile-about--single .gfrm-profile-about__layout {
    grid-template-columns: minmax(0, 800px);
}

.gfrm-profile-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #a06e00;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gfrm-profile-about__intro h2,
.gfrm-profile-portfolio-header h2,
.gfrm-profile-membership-cta h2 {
    margin: 0;
    color: var(--gfrm-ink-1);
    font-size: clamp(2rem, 3.3vw, 3.45rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.gfrm-profile-about__intro > p {
    max-width: 650px;
    margin: 24px 0 0;
    color: #555c65;
    font-size: 1rem;
    line-height: 1.8;
}

.gfrm-profile-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gfrm-profile-detail-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    min-height: 128px;
    padding: 21px;
    border: 1px solid var(--gfrm-profile-line);
    border-radius: 10px;
    background: #fafafa;
}

.gfrm-profile-detail-card__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff3c5;
    color: #8a6500;
}

.gfrm-profile-detail-card__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
}

.gfrm-profile-detail-card h3 {
    margin: 2px 0 11px;
    color: #30353b;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gfrm-profile-detail-card p {
    margin: 0;
    color: #5c636c;
    font-size: .84rem;
    line-height: 1.55;
}

.gfrm-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gfrm-profile-tags span {
    padding: 5px 8px;
    border: 1px solid #e1e3e5;
    border-radius: 999px;
    background: var(--gfrm-white);
    color: #50565d;
    font-size: .69rem;
    font-weight: 700;
}

.gfrm-profile-equipment {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gfrm-profile-equipment li {
    position: relative;
    padding-left: 12px;
    color: #5c636c;
    font-size: .78rem;
    line-height: 1.4;
}

.gfrm-profile-equipment li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c38f00;
}

.gfrm-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
}

.gfrm-profile-links a {
    color: #3f454d;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: #d39a00;
    text-underline-offset: 3px;
}

.gfrm-profile-links a:hover {
    color: #a06e00;
}

/* PORTFOLIO */
.gfrm-profile-portfolio-section {
    scroll-margin-top: 90px;
    padding: 74px 0 92px;
    background: var(--gfrm-profile-surface);
}

.gfrm-profile-portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 30px;
}

.gfrm-profile-portfolio-header p {
    max-width: 670px;
    margin: 12px 0 0;
    color: #666d75;
    line-height: 1.55;
}

.gfrm-profile-photo-count {
    flex: 0 0 auto;
    padding: 10px 13px;
    border: 1px solid #d9dce0;
    border-radius: 999px;
    background: var(--gfrm-white);
    color: #555c64;
    font-size: .72rem;
    font-weight: 850;
}

.gfrm-profile-portfolio-shortcode {
    min-height: 220px;
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-grid,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__grid {
    display: grid;
    gap: var(--gfrm-profile-portfolio-gap);
}


.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item {
    position: relative;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--gfrm-profile-photo-radius);
    background: var(--gfrm-ink-1);
    box-shadow: 0 10px 32px rgba(20,24,29,.08);
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card a,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item a {
    display: block;
    width: 100%;
    height: 100%;
    color: var(--gfrm-white);
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card img,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: var(--gfrm-profile-image-fit);
    transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card:hover img,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item:hover img {
    transform: scale(1.035);
    filter: brightness(.9);
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card figcaption,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 58px 16px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,.84));
    color: var(--gfrm-white);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card:hover figcaption,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item:hover .gfrm-user-portfolio__caption,
.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card:focus-within figcaption,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item:focus-within .gfrm-user-portfolio__caption {
    opacity: 1;
    transform: translateY(0);
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card strong,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__caption strong {
    font-size: .87rem;
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card span,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__caption span {
    color: rgba(255,255,255,.78);
    font-size: .68rem;
}

.gfrm-profile-empty-portfolio {
    padding: 70px 30px;
    border: 1px dashed #bfc4ca;
    border-radius: 10px;
    background: var(--gfrm-white);
    text-align: center;
}

.gfrm-profile-empty-portfolio__icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 17px;
    color: #a47600;
}

.gfrm-profile-empty-portfolio__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gfrm-profile-empty-portfolio h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.gfrm-profile-empty-portfolio p {
    max-width: 610px;
    margin: 0 auto;
    color: #68707a;
    line-height: 1.6;
}

.gfrm-profile-empty-portfolio__button {
    margin-top: 20px;
    border: 1px solid var(--gfrm-ink-1);
    background: var(--gfrm-ink-1);
    color: var(--gfrm-white);
}

/* MEMBERSHIP CTA */
.gfrm-profile-membership-cta {
    position: relative;
    overflow: hidden;
    padding: 66px 0;
    background:
        radial-gradient(circle at 82% 24%, rgba(255,196,0,.13), transparent 31%),
        linear-gradient(120deg, #090b0e 0%, #151a20 55%, #232a32 100%);
    color: var(--gfrm-white);
}

.gfrm-profile-membership-cta::after {
    content: "GFRM";
    position: absolute;
    right: -20px;
    bottom: -60px;
    color: rgba(255,255,255,.035);
    font-size: clamp(8rem, 18vw, 17rem);
    font-weight: 950;
    letter-spacing: -.08em;
    line-height: 1;
    pointer-events: none;
}

.gfrm-profile-membership-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 46px;
}

.gfrm-profile-membership-cta__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--gfrm-profile-yellow);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gfrm-profile-membership-cta h2 {
    max-width: 780px;
    color: var(--gfrm-white);
}

.gfrm-profile-membership-cta p {
    max-width: 700px;
    margin: 16px 0 0;
    color: #bac0c7;
    line-height: 1.65;
}

.gfrm-profile-membership-cta__button {
    flex: 0 0 auto;
    min-height: 48px;
    padding-inline: 21px;
    border: 1px solid var(--gfrm-profile-yellow);
    background: var(--gfrm-profile-yellow);
    color: var(--gfrm-ink-1);
}

.gfrm-profile-empty {
    padding-top: 150px;
    padding-bottom: 150px;
}

@media (max-width: 1080px) {
    .gfrm-profile-card {
        grid-template-columns: 142px minmax(0, 1fr);
    }

    .gfrm-profile-avatar {
        width: 142px;
        height: 142px;
    }

    .gfrm-profile-facts {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gfrm-profile-fact {
        border-top: 0;
    }

    .gfrm-profile-fact + .gfrm-profile-fact {
        border-left: 1px solid var(--gfrm-grey-5);
    }

    .gfrm-profile-about__layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 820px) {
    .gfrm-profile-hero,
    .gfrm-profile-hero__content {
        min-height: var(--gfrm-profile-hero-height-tablet);
        padding-top: 48px;
        padding-bottom: 12px;
    }

    .gfrm-profile-card {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: var(--gfrm-profile-card-overlap-tablet);
        padding: 26px;
    }

    .gfrm-profile-avatar {
        width: 132px;
        height: 132px;
        margin-top: -56px;
    }

    .gfrm-profile-facts {
        grid-column: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gfrm-profile-fact:nth-child(n+3) {
        border-top: 1px solid var(--gfrm-grey-5);
    }

    .gfrm-profile-fact:nth-child(odd) {
        border-left: 0;
    }

    .gfrm-profile-fact:nth-child(even) {
        border-left: 1px solid var(--gfrm-grey-5);
    }

    .gfrm-profile-details {
        grid-template-columns: 1fr;
    }

    

    .gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card,
    .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item {
        grid-column: auto;
        grid-row: auto;
    }

    .gfrm-profile-membership-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .gfrm-profile-hero,
    .gfrm-profile-hero__content {
        min-height: var(--gfrm-profile-hero-height-mobile);
        padding-top: 42px;
        padding-bottom: 10px;
    }

    .gfrm-profile-card {
        margin-top: var(--gfrm-profile-card-overlap-mobile);
        padding: 22px 18px;
        border-radius: 13px;
    }

    .gfrm-profile-identity h1 {
        font-size: clamp(2.2rem, 12vw, 3.1rem);
    }

    .gfrm-profile-actions,
    .gfrm-profile-card .gfrm-profile-action {
        width: 100%;
    }

    .gfrm-profile-about {
        padding: 64px 0 60px;
    }

    .gfrm-profile-detail-card {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 18px;
    }

    .gfrm-profile-detail-card__icon {
        width: 34px;
        height: 34px;
    }

    .gfrm-profile-portfolio-section {
        padding: 60px 0 70px;
    }

    .gfrm-profile-portfolio-header {
        align-items: flex-start;
        flex-direction: column;
    }

    

    .gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card figcaption,
    .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__caption {
        opacity: 1;
        transform: none;
    }

    .gfrm-profile-membership-cta {
        padding: 58px 0;
    }

    .gfrm-profile-membership-cta__button {
        width: 100%;
    }
}


/* =========================================================
   PERFIL PÚBLIC 1.5.6 · PORTAFOLI PRIMER I ACTIVITAT GFRM
   ========================================================= */
.gfrm-public-profile-page {
    --gfrm-profile-card-ratio: 4 / 3;
}

.gfrm-profile-card {
    grid-template-columns: 154px minmax(0, 1fr) minmax(330px, .64fr);
}

.gfrm-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 11px;
    color: #717882;
    font-size: .8rem;
}

.gfrm-profile-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.gfrm-profile-meta svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gfrm-profile-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gfrm-profile-fact,
.gfrm-profile-fact:nth-child(n+3) {
    border-top: 0;
}

.gfrm-profile-fact:nth-child(n) {
    border-left: 0;
}

.gfrm-profile-fact + .gfrm-profile-fact {
    border-left: 1px solid var(--gfrm-grey-5);
}

.gfrm-profile-fact--league strong {
    color: #9b7200;
}

/* El portafoli apareix immediatament després de la capçalera. */
.gfrm-profile-portfolio-section {
    padding: 58px 0 70px;
    background: #f3f4f5;
}

.gfrm-profile-portfolio-header {
    margin-bottom: 24px;
}

.gfrm-profile-portfolio-header h2 {
    font-size: clamp(2.25rem, 3.5vw, 3.7rem);
}

/* Quatre fitxes fluides en una única fila a escriptori. */


.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card img,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item img {
    object-position: center;
}

/* Sobre mi: només conserva informació que no es repeteix a la capçalera. */
.gfrm-profile-about {
    padding: 72px 0;
}

.gfrm-profile-about__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(44px, 6vw, 86px);
}

.gfrm-profile-about__intro > p {
    margin-top: 20px;
    font-size: .98rem;
    line-height: 1.75;
}

.gfrm-profile-details {
    grid-template-columns: 1fr;
    gap: 12px;
}

.gfrm-profile-detail-card {
    min-height: 112px;
}

/* Activitat pública proporcionada opcionalment per FOTOGRAM. */
.gfrm-profile-activity {
    padding: 68px 0 78px;
    border-top: 1px solid #e6e8ea;
    background: var(--gfrm-white);
}

.gfrm-profile-activity__header {
    margin-bottom: 25px;
}

.gfrm-profile-activity__header h2 {
    margin: 0;
    color: var(--gfrm-ink-1);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.gfrm-profile-activity__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gfrm-profile-activity-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 17px;
    align-items: center;
    min-height: 164px;
    padding: 25px;
    border: 1px solid #dfe2e5;
    border-radius: 12px;
    background: #fafafa;
    color: var(--gfrm-ink-1);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.gfrm-profile-activity-card:hover,
.gfrm-profile-activity-card:focus-visible {
    border-color: #c9b66d;
    box-shadow: 0 14px 34px rgba(17,20,24,.08);
    color: var(--gfrm-ink-1);
    transform: translateY(-2px);
}

.gfrm-profile-activity-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff0b7;
    color: #8d6700;
}

.gfrm-profile-activity-card__icon svg,
.gfrm-profile-activity-card__arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
}

.gfrm-profile-activity-card__content {
    min-width: 0;
}

.gfrm-profile-activity-card__label {
    display: block;
    margin-bottom: 7px;
    color: #9a7000;
    font-size: .66rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gfrm-profile-activity-card strong {
    display: block;
    color: #15191e;
    font-size: 1.28rem;
    line-height: 1.15;
}

.gfrm-profile-activity-card p {
    margin: 8px 0 4px;
    color: #555c65;
    font-size: .84rem;
    line-height: 1.45;
}

.gfrm-profile-activity-card small {
    color: #737a83;
    font-size: .72rem;
}

.gfrm-profile-activity-card__arrow {
    color: #a87900;
}

@media (max-width: 1080px) {
    .gfrm-profile-card {
        grid-template-columns: 142px minmax(0, 1fr);
    }

    .gfrm-profile-facts {
        grid-column: 1 / -1;
    }

    .gfrm-profile-about__layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
        gap: 42px;
    }
}

@media (max-width: 900px) {
    

    .gfrm-profile-about__layout,
    .gfrm-profile-activity__grid {
        grid-template-columns: 1fr;
    }

    .gfrm-profile-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .gfrm-profile-meta {
        gap: 7px 13px;
    }

    .gfrm-profile-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gfrm-profile-fact {
        padding: 14px 9px;
        text-align: center;
    }

    .gfrm-profile-fact strong {
        font-size: 1.08rem;
    }

    .gfrm-profile-fact span {
        font-size: .58rem;
    }

    .gfrm-profile-portfolio-section {
        padding: 50px 0 58px;
        overflow: hidden;
    }

    

    .gfrm-profile-portfolio-shortcode .gfrm-profile-grid::-webkit-scrollbar,
    .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__grid::-webkit-scrollbar {
        display: none;
    }

    

    .gfrm-profile-about {
        padding: 60px 0;
    }

    .gfrm-profile-details {
        grid-template-columns: 1fr;
    }

    .gfrm-profile-activity {
        padding: 58px 0 66px;
    }

    .gfrm-profile-activity-card {
        grid-template-columns: 42px minmax(0, 1fr) 20px;
        gap: 13px;
        min-height: 150px;
        padding: 20px 17px;
    }

    .gfrm-profile-activity-card__icon {
        width: 42px;
        height: 42px;
    }
}

/* GFRM Theme 1.5.8 · portafoli 4/8/12 controlat pel Core */
.gfrm-profile-portfolio-shortcode {
    min-height: 0;
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-grid,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: var(--gfrm-profile-portfolio-gap, 14px);
    align-items: stretch;
    max-width: none;
    margin: 0;
}

.gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card,
.gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 0;
    aspect-ratio: var(--gfrm-profile-card-ratio, 4 / 3);
}

.gfrm-profile-portfolio-shortcode.has-collapsed-items:not(.is-expanded) .gfrm-profile-photo-card:nth-child(n+9),
.gfrm-profile-portfolio-shortcode.has-collapsed-items:not(.is-expanded) .gfrm-user-portfolio__item:nth-child(n+9) {
    display: none;
}

.gfrm-profile-portfolio-toggle {
    display: block;
    min-height: 44px;
    margin: 24px auto 0;
    padding: 0 20px;
    border: 1px solid var(--gfrm-ink-1);
    border-radius: 7px;
    background: var(--gfrm-white);
    color: var(--gfrm-ink-1);
    font: inherit;
    font-size: .78rem;
    font-weight: 850;
    cursor: pointer;
}

.gfrm-profile-portfolio-toggle:hover {
    background: var(--gfrm-ink-1);
    color: var(--gfrm-white);
}

@media (max-width: 900px) {
    .gfrm-profile-portfolio-shortcode .gfrm-profile-grid,
    .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .gfrm-profile-portfolio-shortcode {
        overflow: hidden;
    }
    .gfrm-profile-portfolio-shortcode .gfrm-profile-grid,
    .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }
    .gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card,
    .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item {
        flex: 0 0 min(84vw, 360px);
        width: min(84vw, 360px);
        scroll-snap-align: start;
    }
    .gfrm-profile-portfolio-shortcode.has-collapsed-items:not(.is-expanded) .gfrm-profile-photo-card:nth-child(n+9),
    .gfrm-profile-portfolio-shortcode.has-collapsed-items:not(.is-expanded) .gfrm-user-portfolio__item:nth-child(n+9) {
        display: block;
    }
    .gfrm-profile-portfolio-toggle {
        display: none;
    }
}

/* Compatibilitat acotada amb el portafoli generat per GFRM Core.
   Els únics !important del perfil viuen aquí per neutralitzar estils del plugin. */
.gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: var(--gfrm-profile-portfolio-gap, 14px) !important;
    align-items: stretch !important;
    max-width: none !important;
    margin: 0 !important;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: var(--gfrm-profile-card-ratio, 4 / 3) !important;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-shortcode.has-collapsed-items:not(.is-expanded) .gfrm-user-portfolio__item:nth-child(n+9) {
    display: none !important;
}

@media (max-width: 900px) {
    .gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__grid {
        display: flex !important;
        gap: 12px !important;
        overflow-x: auto !important;
    }

    .gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item {
        flex: 0 0 min(84vw, 360px) !important;
        width: min(84vw, 360px) !important;
    }

    .gfrm-public-profile-page .gfrm-profile-portfolio-shortcode.has-collapsed-items:not(.is-expanded) .gfrm-user-portfolio__item:nth-child(n+9) {
        display: block !important;
    }
}

/* 1.6.0 — Identitat fotogràfica integrada al hero */
.gfrm-profile-signature {
    display: grid;
    align-self: stretch;
    align-content: center;
    min-width: 0;
    padding: 8px 0 8px 28px;
    border-left: 1px solid #e4e6e8;
}

.gfrm-profile-signature__item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 14px 0;
}

.gfrm-profile-signature__item + .gfrm-profile-signature__item {
    border-top: 1px solid var(--gfrm-grey-1);
}

.gfrm-profile-signature__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff4c8;
    color: #8a6500;
}

.gfrm-profile-signature__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
}

.gfrm-profile-signature__label {
    display: block;
    margin-bottom: 5px;
    color: #767d85;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gfrm-profile-signature p {
    margin: 0;
    color: #24292f;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.45;
}

.gfrm-profile-about--single .gfrm-profile-about__layout {
    grid-template-columns: minmax(0, 860px);
}

@media (max-width: 1080px) {
    .gfrm-profile-signature {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 10px 0 0;
        border-top: 1px solid #e4e6e8;
        border-left: 0;
    }

    .gfrm-profile-signature__item {
        padding: 16px 18px 4px 0;
    }

    .gfrm-profile-signature__item + .gfrm-profile-signature__item {
        padding-left: 22px;
        border-top: 0;
        border-left: 1px solid var(--gfrm-grey-1);
    }
}

@media (max-width: 820px) {
    .gfrm-profile-signature {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .gfrm-profile-signature {
        grid-template-columns: 1fr;
        padding-top: 4px;
    }

    .gfrm-profile-signature__item {
        padding: 14px 0;
    }

    .gfrm-profile-signature__item + .gfrm-profile-signature__item {
        padding-left: 0;
        border-top: 1px solid var(--gfrm-grey-1);
        border-left: 0;
    }
}


/* 1.6.1 — Metadades fotogràfiques discretes en una sola línia */
.gfrm-profile-card {
    grid-template-columns: 154px minmax(0, 1fr);
}

.gfrm-profile-meta--identity {
    gap: 10px 22px;
    margin-top: 15px;
    color: #5f666e;
}

.gfrm-profile-meta--identity .gfrm-profile-meta__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item::before {
    content: "";
    position: absolute;
    left: -12px;
    width: 1px;
    height: 22px;
    background: #e1e4e7;
}

.gfrm-profile-meta--identity .gfrm-profile-meta__item > span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.gfrm-profile-meta--identity small {
    margin-bottom: 3px;
    color: #8a9097;
    font-size: .57rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.gfrm-profile-meta--identity svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    color: #8a6500;
}

@media (max-width: 820px) {
    .gfrm-profile-meta--identity {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
    }
    .gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item::before {
        display: none;
    }
}

@media (max-width: 560px) {
    .gfrm-profile-meta--identity {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


/* 1.6.2 — Sobre mi integrat amb el portafoli */
.gfrm-profile-portfolio-header--about {
    align-items: flex-end;
    margin-bottom: 32px;
}

.gfrm-profile-portfolio-header__intro {
    max-width: 760px;
}

.gfrm-profile-portfolio-header--about h2 {
    margin: 0;
    color: var(--gfrm-ink-1);
    font-size: clamp(2rem, 3.3vw, 3.45rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.gfrm-profile-portfolio-header--about p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #555c65;
    font-size: 1rem;
    line-height: 1.75;
}

.gfrm-profile-portfolio-header--about + .gfrm-profile-portfolio-shortcode {
    margin-top: 0;
}

@media (max-width: 760px) {
    .gfrm-profile-portfolio-header--about {
        align-items: flex-start;
    }

    .gfrm-profile-portfolio-header--about p {
        font-size: .95rem;
        line-height: 1.65;
    }
}

/* Perfil 1.7.0: valoració social i fotografies de reptes */
.gfrm-profile-like {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #dfe3e8;
    border-radius: 999px;
    background: var(--gfrm-white);
    color: #4f5965;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.gfrm-profile-like__heart { color: #9aa2ab; font-size: 16px; line-height: 1; }
.gfrm-profile-like strong { min-width: 1.2em; color: #111820; }
.gfrm-profile-like:hover { border-color: #d7aa18; color: #111820; }
.gfrm-profile-like.is-liked { border-color: rgba(215,170,24,.45); background: var(--gfrm-cream); color: #111820; }
.gfrm-profile-like.is-liked .gfrm-profile-like__heart { color: #d8a900; }
.gfrm-profile-like.is-loading { opacity: .65; cursor: wait; }

.gfrm-profile-challenges { padding: 64px 0 76px; background: #f6f7f8; }
.gfrm-profile-challenges__header { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:24px; }
.gfrm-profile-challenges__header h2 { margin:5px 0 0; font-size:clamp(30px,3.5vw,44px); line-height:1.05; }
.gfrm-profile-challenges__link { font-weight:700; color:var(--gfrm-ink-3); text-decoration:none; }
.gfrm-profile-challenges__link:hover { color:#b88400; }
.gfrm-profile-challenges__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.gfrm-profile-challenge-card { position:relative; min-width: 0; overflow:hidden; border-radius:10px; background:var(--gfrm-white); box-shadow:0 10px 26px rgba(15,23,42,.08); transition:transform .22s ease, box-shadow .22s ease; }
.gfrm-profile-challenge-card:hover { transform:translateY(-3px); box-shadow:0 16px 34px rgba(15,23,42,.13); }
.gfrm-profile-challenge-card__image { position:relative; display:block; overflow:hidden; aspect-ratio:4 / 5; color:var(--gfrm-white); text-decoration:none; background:#dfe3e6; }
.gfrm-profile-challenge-card__image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.gfrm-profile-challenge-card:hover .gfrm-profile-challenge-card__image img { transform:scale(1.035); }
.gfrm-profile-challenge-card__shade { position:absolute; inset:38% 0 0; background:linear-gradient(transparent,rgba(4,8,12,.88)); pointer-events:none; }
.gfrm-profile-challenge-card__content { position:absolute; z-index:2; left:0; right:0; bottom:0; display:grid; gap:3px; padding:34px 14px 14px; }
.gfrm-profile-challenge-card__content strong { font-size:16px; line-height:1.18; }
.gfrm-profile-challenge-card__content span { font-size:12px; line-height:1.3; color:rgba(255,255,255,.9); }
.gfrm-profile-challenge-card__content small { font-size:11px; color:rgba(255,255,255,.72); text-transform:capitalize; }
.gfrm-profile-challenge-card__badge { position:absolute; z-index:3; top:12px; right:12px; display:inline-flex; align-items:center; gap:5px; min-width: 42px; height:42px; padding:0 9px; border:1px solid rgba(255,255,255,.6); border-radius:999px; background:rgba(16,20,24,.82); color:var(--gfrm-white); box-shadow:0 6px 18px rgba(0,0,0,.22); backdrop-filter:blur(8px); }
.gfrm-profile-challenge-card__badge span { color:#ffca28; font-size:15px; }
.gfrm-profile-challenge-card__badge strong { font-size:12px; }
.gfrm-profile-challenge-card__badge.is-position-1 { background:rgba(164,111,0,.92); }
.gfrm-profile-challenge-card__badge.is-position-2 { background:rgba(91,101,112,.92); }
.gfrm-profile-challenge-card__badge.is-position-3 { background:rgba(135,76,36,.92); }
.gfrm-profile-challenge-card__challenge-link { display:block; padding:11px 14px; border-top:1px solid #eceff1; color:#222a31; font-size:12px; font-weight:750; text-decoration:none; }
.gfrm-profile-challenge-card__challenge-link:hover { color:#b88400; background:var(--gfrm-cream); }
@media (max-width: 1000px){.gfrm-profile-challenges__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 620px){.gfrm-profile-challenges{padding:48px 0 58px}.gfrm-profile-challenges__header{align-items:flex-start;flex-direction:column}.gfrm-profile-challenges__grid{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding:0 0 10px}.gfrm-profile-challenge-card{flex:0 0 76vw;scroll-snap-align:start}.gfrm-profile-challenge-card__image{aspect-ratio:4 / 5}}


/* 1.7.1 — Hero més airejat i valoració en una línia pròpia */
.gfrm-profile-card {
    grid-template-columns: 154px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
    padding: 34px 38px 30px;
}

.gfrm-profile-identity {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gfrm-profile-meta--identity {
    display: grid;
    grid-template-columns: minmax(150px, .72fr) minmax(150px, .72fr);
    gap: 14px 30px;
    max-width: 820px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--gfrm-grey-1);
}

.gfrm-profile-meta--identity .gfrm-profile-meta__item {
    align-items: flex-start;
}

.gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item::before {
    display: none;
}

.gfrm-profile-meta--identity .gfrm-profile-meta__item:nth-child(n+3) {
    padding-top: 12px;
    border-top: 1px solid #f0f1f3;
}

.gfrm-profile-actions {
    margin-top: 22px;
    padding-top: 0;
}

.gfrm-profile-like-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 13px;
}

.gfrm-profile-like {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
}

.gfrm-profile-like-status {
    color: #68717b;
    font-size: 12px;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity .18s ease, transform .18s ease;
}
.gfrm-profile-like-status.is-visible { opacity: 1; transform: translateY(0); }
.gfrm-profile-like-status.is-error { color: #a52a2a; }

@media (max-width: 820px) {
    .gfrm-profile-card { padding: 30px 26px 26px; }
    .gfrm-profile-meta--identity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .gfrm-profile-card { gap: 18px; padding: 26px 18px 22px; }
    .gfrm-profile-meta--identity { grid-template-columns: 1fr; gap: 12px; }
    .gfrm-profile-meta--identity .gfrm-profile-meta__item:nth-child(n+2) {
        padding-top: 12px;
        border-top: 1px solid #f0f1f3;
    }
    .gfrm-profile-actions { gap: 7px; }
    .gfrm-profile-like-row { margin-top: 12px; }
}

/* =========================================================
   PERFIL PÚBLIC 1.7.2 · CAPÇALERA SÒLIDA I XARXES ORDENADES
   ========================================================= */
.gfrm-profile-card {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 24px;
    margin-top: var(--gfrm-profile-card-overlap-desktop);
    padding: 24px 28px 22px;
    align-items: start;
}

.gfrm-profile-avatar {
    width: 128px;
    height: 128px;
    margin-top: -24px;
}

.gfrm-profile-avatar__seal {
    width: 36px;
    height: 36px;
    border-width: 3px;
    font-size: .52rem;
}

.gfrm-profile-identity h1 {
    font-size: clamp(2.15rem, 3vw, 3.35rem);
}

.gfrm-profile-tagline {
    max-width: 720px;
    margin-top: 5px;
    color: #6f7780;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.45;
}

.gfrm-profile-meta--identity {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 22px;
    margin-top: 14px;
    border: 0;
}

.gfrm-profile-meta--identity .gfrm-profile-meta__item {
    min-width: 0;
    padding: 7px 0;
    gap: 7px;
    border: 0;
}

.gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item {
    padding-left: 0;
    border-left: 0;
}

.gfrm-profile-meta--identity .gfrm-profile-meta__item > span {
    min-width: 0;
    overflow: hidden;
    color: #626a73;
    font-size: .72rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gfrm-profile-meta--identity small {
    display: block;
    margin-bottom: 2px;
    color: #8a9097;
    font-size: .56rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gfrm-profile-meta--identity svg {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    color: #ad8500;
}

.gfrm-profile-footer-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    margin-top: 15px;
}

.gfrm-profile-primary-actions {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.gfrm-profile-socials {
    grid-column: 2;
    min-width: 0;
}

.gfrm-profile-socials__title {
    display: block;
    margin-bottom: 5px;
    color: #7a8189;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gfrm-profile-socials__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.gfrm-profile-socials__links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #30363c;
    font-size: .74rem;
    font-weight: 750;
    text-decoration: none;
}

.gfrm-profile-socials__links a:hover,
.gfrm-profile-socials__links a:focus-visible {
    color: #9b7200;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gfrm-profile-socials__links svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
}

.gfrm-profile-footer-row .gfrm-profile-like-row {
    grid-column: 3;
    margin: 0;
    justify-self: end;
    align-self: end;
}

.gfrm-profile-footer-row .gfrm-profile-like {
    min-height: 32px;
    padding: 0 10px;
    font-size: .68rem;
}

@media (max-width: 980px) {
    .gfrm-profile-hero,
    .gfrm-profile-hero__content {
        min-height: var(--gfrm-profile-hero-height-tablet);
    }

    .gfrm-profile-card {
        grid-template-columns: 108px minmax(0, 1fr);
        margin-top: var(--gfrm-profile-card-overlap-tablet);
        padding: 22px;
    }

    .gfrm-profile-avatar {
        width: 108px;
        height: 108px;
        margin-top: -18px;
    }

    .gfrm-profile-meta--identity {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gfrm-profile-meta--identity .gfrm-profile-meta__item:nth-child(3),
    .gfrm-profile-meta--identity .gfrm-profile-meta__item:nth-child(4) {
        padding-left: 0;
        border: 0;
    }

    .gfrm-profile-footer-row {
        grid-template-columns: auto 1fr;
    }

    .gfrm-profile-footer-row .gfrm-profile-like-row {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 620px) {
    .gfrm-profile-hero,
    .gfrm-profile-hero__content {
        min-height: var(--gfrm-profile-hero-height-mobile);
    }

    .gfrm-profile-card {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: var(--gfrm-profile-card-overlap-mobile);
        padding: 20px 18px;
    }

    .gfrm-profile-avatar {
        width: 92px;
        height: 92px;
        margin-top: 0;
        border-width: 4px;
    }

    .gfrm-profile-avatar__seal {
        width: 32px;
        height: 32px;
        border-width: 3px;
        font-size: .48rem;
    }

    .gfrm-profile-meta--identity {
        grid-template-columns: 1fr;
    }

    .gfrm-profile-meta--identity .gfrm-profile-meta__item,
    .gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item {
        padding: 7px 0;
        border: 0;
    }

    .gfrm-profile-footer-row {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .gfrm-profile-socials__links {
        gap: 7px 16px;
    }

    .gfrm-profile-footer-row .gfrm-profile-like-row {
        grid-column: auto;
    }
}


/* 1.7.6 — Accés al perfil en cantonada, xarxes més visibles i CTA compacte */
.gfrm-profile-card {
    position: relative;
}

.gfrm-profile-action--owner-corner {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 4;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #dfe3e7;
    border-radius: 999px;
    background: var(--gfrm-white);
    color: #20262c;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
    font-size: .7rem;
}

.gfrm-profile-action--owner-corner:hover,
.gfrm-profile-action--owner-corner:focus-visible {
    border-color: #d8a900;
    color: #8f6900;
}

.gfrm-profile-identity {
    padding-right: 128px;
}

.gfrm-profile-primary-actions {
    align-self: center;
}

.gfrm-profile-socials__title {
    margin-bottom: 7px;
    color: #6e747b;
    font-size: .64rem;
}

.gfrm-profile-socials__links {
    gap: 8px;
}

.gfrm-profile-socials__links a {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #e1e4e7;
    border-radius: 999px;
    background: var(--gfrm-white);
    color: #2d343b;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .035);
}

.gfrm-profile-socials__links a:hover,
.gfrm-profile-socials__links a:focus-visible {
    border-color: #d8a900;
    background: var(--gfrm-cream);
    color: #8f6900;
    text-decoration: none;
}

.gfrm-profile-membership-cta {
    padding: 34px 0;
}

.gfrm-profile-membership-cta__inner {
    gap: 28px;
}

.gfrm-profile-membership-cta__eyebrow {
    margin-bottom: 5px;
    font-size: .6rem;
}

.gfrm-profile-membership-cta h2 {
    max-width: 690px;
    font-size: clamp(1.65rem, 2.6vw, 2.5rem);
    line-height: 1.05;
}

.gfrm-profile-membership-cta p {
    max-width: 650px;
    margin-top: 9px;
    font-size: .9rem;
    line-height: 1.5;
}

.gfrm-profile-membership-cta__button {
    min-height: 40px;
    padding-inline: 16px;
    font-size: .75rem;
}

@media (max-width: 980px) {
    .gfrm-profile-action--owner-corner {
        top: 16px;
        right: 16px;
    }

    .gfrm-profile-identity {
        padding-right: 118px;
    }
}

@media (max-width: 620px) {
    .gfrm-profile-action--owner-corner {
        position: static;
        width: fit-content;
        margin-left: auto;
        margin-bottom: 4px;
    }

    .gfrm-profile-identity {
        padding-right: 0;
    }

    .gfrm-profile-socials__links {
        gap: 7px;
    }

    .gfrm-profile-membership-cta {
        padding: 28px 0;
    }

    .gfrm-profile-membership-cta__inner {
        align-items: flex-start;
        gap: 18px;
    }
}


/* 1.7.8 — Reparació segura del botó del propietari.
 * El botó viu dins de .gfrm-profile-identity i mai participa en el grid principal. */
.gfrm-public-profile-page .gfrm-profile-card {
    position: relative;
}

.gfrm-public-profile-page .gfrm-profile-identity {
    position: relative;
}

.gfrm-public-profile-page .gfrm-profile-identity > .gfrm-profile-action--owner-corner {
    position: absolute;
    top: -2px;
    right: 0;
    z-index: 6;
    display: inline-flex;
    width: auto;
    max-width: none;
    min-height: 34px;
    margin: 0;
    padding: 0 12px;
    white-space: nowrap;
}

.gfrm-public-profile-page .gfrm-profile-identity:has(> .gfrm-profile-action--owner-corner) {
    padding-right: 132px;
}

@media (max-width: 980px) {
    .gfrm-public-profile-page .gfrm-profile-identity:has(> .gfrm-profile-action--owner-corner) {
        padding-right: 122px;
    }
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-identity > .gfrm-profile-action--owner-corner {
        position: static;
        margin: 0 0 10px auto;
    }

    .gfrm-public-profile-page .gfrm-profile-identity:has(> .gfrm-profile-action--owner-corner) {
        padding-right: 0;
    }
}

/* 1.7.9 — Xarxes prioritàries i accés al perfil coherent amb el Home */
.gfrm-profile-footer-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
}

.gfrm-profile-socials {
    grid-column: 1;
}

.gfrm-profile-footer-row .gfrm-profile-like-row {
    grid-column: 2;
}

.gfrm-profile-action--owner-corner {
    border-color: #2e8540;
    background: #2e8540;
    color: var(--gfrm-white);
    box-shadow: 0 8px 22px rgba(18, 92, 42, .24);
}

.gfrm-profile-action--owner-corner:hover,
.gfrm-profile-action--owner-corner:focus-visible {
    border-color: #246d34;
    background: #246d34;
    color: var(--gfrm-white);
    box-shadow: 0 10px 26px rgba(18, 92, 42, .30);
}

.gfrm-profile-socials__title {
    margin-bottom: 8px;
    color: #555d65;
    font-size: .66rem;
    letter-spacing: .07em;
}

.gfrm-profile-socials__links {
    gap: 8px;
}

.gfrm-profile-socials__links a {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid #cfd5da;
    background: var(--gfrm-grey-8);
    color: #1f262d;
    font-size: .76rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.gfrm-profile-socials__links a:hover,
.gfrm-profile-socials__links a:focus-visible {
    border-color: #d7aa18;
    background: #fff8dd;
    color: #785900;
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .gfrm-profile-footer-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .gfrm-profile-footer-row .gfrm-profile-like-row {
        grid-column: 2;
        justify-self: end;
    }
}

@media (max-width: 620px) {
    .gfrm-profile-footer-row {
        grid-template-columns: 1fr;
    }

    .gfrm-profile-socials,
    .gfrm-profile-footer-row .gfrm-profile-like-row {
        grid-column: 1;
    }

    .gfrm-profile-footer-row .gfrm-profile-like-row {
        justify-self: start;
    }

    .gfrm-profile-socials__links a {
        min-height: 36px;
        padding-inline: 14px;
    }
}


/* 1.8.0 — CTA final més compacte i secundari */
.gfrm-public-profile-page .gfrm-profile-membership-cta {
    width: min(980px, calc(100% - 40px));
    margin: 30px auto 42px;
    padding: 22px 28px;
    border: 1px solid rgba(182, 145, 32, .18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 196, 0, .16), transparent 28%),
        linear-gradient(135deg, #fffdf7 0%, #f7f2e6 52%, #eef1f3 100%);
    color: #15191e;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.gfrm-public-profile-page .gfrm-profile-membership-cta::after {
    right: 18px;
    bottom: -28px;
    color: rgba(15, 23, 42, .035);
    font-size: clamp(5rem, 10vw, 9rem);
}

.gfrm-public-profile-page .gfrm-profile-membership-cta__inner {
    width: 100%;
    max-width: none;
    padding: 0;
    gap: 24px;
}

.gfrm-public-profile-page .gfrm-profile-membership-cta__eyebrow {
    margin-bottom: 4px;
    color: #9a7300;
    font-size: .58rem;
    letter-spacing: .12em;
}

.gfrm-public-profile-page .gfrm-profile-membership-cta h2 {
    max-width: 620px;
    margin: 0;
    color: var(--gfrm-ink-3);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.gfrm-public-profile-page .gfrm-profile-membership-cta p {
    max-width: 650px;
    margin-top: 6px;
    color: #68707a;
    font-size: .82rem;
    line-height: 1.45;
}

.gfrm-public-profile-page .gfrm-profile-membership-cta__button {
    min-height: 38px;
    padding-inline: 15px;
    border-radius: 8px;
    font-size: .7rem;
    box-shadow: 0 6px 16px rgba(194, 145, 0, .16);
}

@media (max-width: 760px) {
    .gfrm-public-profile-page .gfrm-profile-membership-cta {
        width: min(100% - 28px, 680px);
        margin: 22px auto 30px;
        padding: 20px;
    }

    .gfrm-public-profile-page .gfrm-profile-membership-cta__inner {
        align-items: flex-start;
        gap: 16px;
    }

    .gfrm-public-profile-page .gfrm-profile-membership-cta h2 {
        font-size: 1.35rem;
    }
}

/* Reptes: graella compacta amb barra lateral d'activitat. */
.gfrm-profile-challenges__layout {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(250px, .85fr);
    gap: 26px;
    align-items: start;
}
.gfrm-profile-challenges__main { min-width: 0; }
.gfrm-profile-challenges__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.gfrm-profile-challenge-card { border-radius: 9px; }
.gfrm-profile-challenge-card__image { aspect-ratio: 4 / 5.15; }
.gfrm-profile-challenge-card__content { padding: 28px 12px 12px; }
.gfrm-profile-challenge-card__content strong { font-size: 14px; }
.gfrm-profile-challenge-card__content span { font-size: 11px; }
.gfrm-profile-challenge-card__content small { font-size: 10px; }
.gfrm-profile-challenge-card__badge {
    top: 9px;
    right: 9px;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
}
.gfrm-profile-challenge-card__challenge-link { padding: 9px 12px; font-size: 11px; }
.gfrm-profile-challenges__more {
    display: inline-flex;
    margin-top: 18px;
    color: var(--gfrm-ink-3);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}
.gfrm-profile-challenges__more:hover { color: #b88400; }
.gfrm-profile-challenges__sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 112px;
}
.gfrm-profile-challenges-summary,
.gfrm-profile-recent-challenges {
    border: 1px solid #e5e8ea;
    border-radius: 12px;
    background: var(--gfrm-white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}
.gfrm-profile-challenges-summary { padding: 20px; }
.gfrm-profile-challenges-summary__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #9b7100;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.gfrm-profile-challenges-summary__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}
.gfrm-profile-challenges-summary__stats > div {
    display: grid;
    gap: 2px;
    min-height: 74px;
    padding: 13px 10px;
    border-bottom: 1px solid var(--gfrm-grey-2);
}
.gfrm-profile-challenges-summary__stats > div:nth-child(odd) { border-right: 1px solid var(--gfrm-grey-2); }
.gfrm-profile-challenges-summary__stats > div:nth-last-child(-n+2) { border-bottom: 0; }
.gfrm-profile-challenges-summary__stats strong {
    color: #11171c;
    font-size: 25px;
    line-height: 1;
}
.gfrm-profile-challenges-summary__stats span { color: #6e7780; font-size: 11px; line-height: 1.25; }
.gfrm-profile-recent-challenges { padding: 18px; }
.gfrm-profile-recent-challenges h3 { margin: 0 0 12px; color: #11171c; font-size: 15px; }
.gfrm-profile-recent-challenges__list { display: grid; gap: 4px; }
.gfrm-profile-recent-challenge {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    color: #20262c;
    text-decoration: none;
}
.gfrm-profile-recent-challenge:hover { background: var(--gfrm-grey-7); }
.gfrm-profile-recent-challenge img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}
.gfrm-profile-recent-challenge > span { display: grid; gap: 3px; min-width: 0; }
.gfrm-profile-recent-challenge strong {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gfrm-profile-recent-challenge small { color: #78818a; font-size: 10px; text-transform: capitalize; }
.gfrm-profile-recent-challenge b { color: #9c7a22; font-size: 16px; text-align: center; }
.gfrm-profile-recent-challenge b.is-position-2 { color: #8d969e; }
.gfrm-profile-recent-challenge b.is-position-3 { color: #a4693f; }
.gfrm-profile-recent-challenges__all {
    display: inline-flex;
    margin-top: 13px;
    color: #b88400;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}
@media (max-width: 1050px) {
    .gfrm-profile-challenges__layout { grid-template-columns: 1fr; }
    .gfrm-profile-challenges__sidebar { grid-template-columns: 1fr 1fr; position: static; }
}
@media (max-width: 760px) {
    .gfrm-profile-challenges__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gfrm-profile-challenges__sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .gfrm-profile-challenges__grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }
    .gfrm-profile-challenge-card { flex: 0 0 70vw; scroll-snap-align: start; }
}


/* 1.8.5 — Hero del perfil refinat segons el mockup validat */
.gfrm-public-profile-page .gfrm-profile-card {
    grid-template-columns: 154px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    margin-top: -18px;
    padding: 36px 40px 28px;
    border: 1px solid rgba(219, 223, 227, .96);
    border-radius: 18px;
    background: rgba(255,255,255,.99);
    box-shadow: 0 20px 52px rgba(15, 23, 42, .09);
}

.gfrm-public-profile-page .gfrm-profile-avatar {
    width: 148px;
    height: 148px;
    margin-top: -10px;
    border-width: 6px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
    background: #f0f1f3;
}

.gfrm-public-profile-page .gfrm-profile-avatar__seal {
    right: -4px;
    bottom: 8px;
    width: 40px;
    height: 40px;
    font-size: .56rem;
}

.gfrm-public-profile-page .gfrm-profile-identity {
    position: relative;
    min-width: 0;
    padding-right: 170px;
}

.gfrm-public-profile-page .gfrm-profile-identity h1 {
    margin: 4px 0 0;
    color: #101418;
    font-size: clamp(3.35rem, 4vw, 4.35rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.gfrm-public-profile-page .gfrm-profile-tagline {
    max-width: 820px;
    margin: 10px 0 0;
    color: #5f6770;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.45;
}

.gfrm-public-profile-page .gfrm-profile-badges {
    margin-bottom: 10px;
    gap: 10px;
}

.gfrm-public-profile-page .gfrm-profile-badge {
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .67rem;
    letter-spacing: .06em;
}

.gfrm-public-profile-page .gfrm-profile-badge--light {
    border-color: #d8dde3;
    color: #4f5862;
    background: var(--gfrm-white);
}

.gfrm-public-profile-page .gfrm-profile-identity > .gfrm-profile-action--owner-corner {
    position: absolute;
    top: -2px;
    right: 0;
    z-index: 7;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    border-color: #2d9a4a;
    background: #2d9a4a;
    color: var(--gfrm-white);
    box-shadow: 0 10px 24px rgba(45, 154, 74, .22);
}

.gfrm-public-profile-page .gfrm-profile-identity > .gfrm-profile-action--owner-corner:hover,
.gfrm-public-profile-page .gfrm-profile-identity > .gfrm-profile-action--owner-corner:focus-visible {
    border-color: #268440;
    background: #268440;
    color: var(--gfrm-white);
}

.gfrm-public-profile-page .gfrm-profile-meta--identity {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eceff2;
}

.gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    min-height: 44px;
    padding: 0 18px;
}

.gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item:first-child {
    padding-left: 0;
}

.gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item {
    padding-left: 24px;
}

.gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 1px;
    background: #eceff2;
}

.gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item > span {
    min-width: 0;
    overflow: hidden;
    color: #56606a;
    font-size: .9rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: normal;
}

.gfrm-public-profile-page .gfrm-profile-meta--identity small {
    display: block;
    margin-bottom: 3px;
    color: #6c7680;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gfrm-public-profile-page .gfrm-profile-meta--identity svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: #d0a11b;
}

.gfrm-public-profile-page .gfrm-profile-footer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eceff2;
}

.gfrm-public-profile-page .gfrm-profile-socials {
    min-width: 0;
}

.gfrm-public-profile-page .gfrm-profile-socials__title {
    display: none;
}

.gfrm-public-profile-page .gfrm-profile-socials__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gfrm-public-profile-page .gfrm-profile-socials__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d9dee4;
    border-radius: 10px;
    background: var(--gfrm-white);
    color: #1f262d;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .04);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease;
}

.gfrm-public-profile-page .gfrm-profile-socials__links a:hover,
.gfrm-public-profile-page .gfrm-profile-socials__links a:focus-visible {
    border-color: #d4a71d;
    background: var(--gfrm-cream);
    color: #745800;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.gfrm-public-profile-page .gfrm-profile-socials__links svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
}

.gfrm-public-profile-page .gfrm-profile-footer-row .gfrm-profile-like-row {
    justify-self: end;
    align-self: center;
}

.gfrm-public-profile-page .gfrm-profile-footer-row .gfrm-profile-like {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
}

@media (max-width: 1140px) {
    .gfrm-public-profile-page .gfrm-profile-card {
        padding: 30px 28px 24px;
    }

    .gfrm-public-profile-page .gfrm-profile-identity {
        padding-right: 154px;
    }

    .gfrm-public-profile-page .gfrm-profile-meta--identity {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 0;
    }

}

@media (max-width: 980px) {
    .gfrm-public-profile-page .gfrm-profile-card {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 22px;
        margin-top: -10px;
    }

    .gfrm-public-profile-page .gfrm-profile-avatar {
        width: 110px;
        height: 110px;
        margin-top: 0;
    }

    .gfrm-public-profile-page .gfrm-profile-identity {
        padding-right: 0;
    }

    .gfrm-public-profile-page .gfrm-profile-identity > .gfrm-profile-action--owner-corner {
        position: static;
        width: fit-content;
        margin: 0 0 12px auto;
    }

    .gfrm-public-profile-page .gfrm-profile-identity h1 {
        font-size: clamp(2.5rem, 6vw, 3.3rem);
    }

    .gfrm-public-profile-page .gfrm-profile-footer-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .gfrm-public-profile-page .gfrm-profile-footer-row .gfrm-profile-like-row {
        justify-self: start;
    }
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 18px 18px;
        margin-top: 0;
    }

    .gfrm-public-profile-page .gfrm-profile-avatar {
        width: 92px;
        height: 92px;
    }

    .gfrm-public-profile-page .gfrm-profile-identity h1 {
        font-size: 2.3rem;
    }

    .gfrm-public-profile-page .gfrm-profile-tagline {
        font-size: .85rem;
    }

    .gfrm-public-profile-page .gfrm-profile-meta--identity {
        grid-template-columns: 1fr;
        padding-top: 14px;
    }

    .gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item,
    .gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item {
        padding: 0 0 12px;
    }

    .gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item::before {
        display: none;
    }

    .gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item + .gfrm-profile-meta__item {
        padding-top: 12px;
        border-top: 1px solid #eceff2;
    }

    .gfrm-public-profile-page .gfrm-profile-footer-row {
        padding-top: 14px;
    }

    .gfrm-public-profile-page .gfrm-profile-socials__links {
        gap: 8px;
    }

    .gfrm-public-profile-page .gfrm-profile-socials__links a {
        min-height: 36px;
        padding: 0 12px;
        font-size: .82rem;
    }
}


/* 1.8.6 — Restauració de miniatures de reptes unificades i metadades sense línia superior */
.gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item:nth-child(3),
.gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item:nth-child(4) {
    padding-top: 0;
    border-top: 0;
}

.gfrm-profile-challenges {
    padding: 54px 0 68px;
}

.gfrm-profile-challenges__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gfrm-profile-portfolio-gap, 14px);
}

.gfrm-profile-challenge-card {
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: var(--gfrm-profile-card-ratio, 4 / 3);
    overflow: hidden;
    border: 0;
    border-radius: var(--gfrm-profile-photo-radius, 8px);
    background: var(--gfrm-ink-1);
    box-shadow: 0 10px 32px rgba(20, 24, 29, .08);
    transition: none;
}

.gfrm-profile-challenge-card:hover {
    transform: none;
    box-shadow: 0 10px 32px rgba(20, 24, 29, .08);
}

.gfrm-profile-challenge-card__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: auto;
    color: var(--gfrm-white);
    text-decoration: none;
    background: var(--gfrm-ink-1);
}

.gfrm-profile-challenge-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: var(--gfrm-profile-image-fit, cover);
    object-position: center;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.gfrm-profile-challenge-card:hover .gfrm-profile-challenge-card__image img,
.gfrm-profile-challenge-card:focus-within .gfrm-profile-challenge-card__image img {
    transform: scale(1.035);
    filter: brightness(.9);
}

.gfrm-profile-challenge-card__shade {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    height: 72%;
    background: linear-gradient(transparent, rgba(0, 0, 0, .84));
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.gfrm-profile-challenge-card__content {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 58px 16px 15px;
    color: var(--gfrm-white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}

.gfrm-profile-challenge-card:hover .gfrm-profile-challenge-card__shade,
.gfrm-profile-challenge-card:focus-within .gfrm-profile-challenge-card__shade,
.gfrm-profile-challenge-card:hover .gfrm-profile-challenge-card__content,
.gfrm-profile-challenge-card:focus-within .gfrm-profile-challenge-card__content {
    opacity: 1;
    transform: translateY(0);
}

.gfrm-profile-challenge-card__content strong {
    color: var(--gfrm-white);
    font-size: .87rem;
    line-height: 1.25;
}

.gfrm-profile-challenge-card__content span,
.gfrm-profile-challenge-card__content small,
.gfrm-profile-challenge-card__challenge-link {
    color: rgba(255, 255, 255, .78);
    font-size: .68rem;
    line-height: 1.35;
}

.gfrm-profile-challenge-card__content small {
    text-transform: capitalize;
}

.gfrm-profile-challenge-card__challenge-link {
    display: inline;
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 650;
    text-decoration: none;
    pointer-events: auto;
}

.gfrm-profile-challenge-card__challenge-link:hover,
.gfrm-profile-challenge-card__challenge-link:focus-visible {
    color: var(--gfrm-white);
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gfrm-profile-challenge-card__badge {
    position: absolute;
    z-index: 5;
    top: 10px;
    right: 10px;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
}

@media (max-width: 1050px) {
    .gfrm-profile-challenges__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .gfrm-profile-challenges__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item:nth-child(3),
    .gfrm-public-profile-page .gfrm-profile-meta--identity .gfrm-profile-meta__item:nth-child(4) {
        padding-top: 12px;
        border-top: 1px solid #eceff2;
    }

    .gfrm-profile-challenges {
        padding: 46px 0 56px;
        overflow: hidden;
    }

    .gfrm-profile-challenges__grid {
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        margin-right: calc(50% - 50vw);
        padding-right: 18px;
        padding-bottom: 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .gfrm-profile-challenge-card {
        flex: 0 0 min(84vw, 360px);
        width: min(84vw, 360px);
        aspect-ratio: var(--gfrm-profile-card-ratio, 4 / 3);
        scroll-snap-align: start;
    }

    .gfrm-profile-challenge-card__shade,
    .gfrm-profile-challenge-card__content {
        opacity: 1;
        transform: none;
    }
}


/* 1.8.7 — Reptes en galeria neta, sense blocs laterals */
.gfrm-public-profile-page .gfrm-profile-challenges__header {
    display: block;
    margin-bottom: 22px;
}

.gfrm-public-profile-page .gfrm-profile-challenges__header h2 {
    margin: 0;
}

.gfrm-public-profile-page .gfrm-profile-challenges__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gfrm-profile-portfolio-gap, 14px);
}

@media (max-width: 900px) {
    .gfrm-public-profile-page .gfrm-profile-challenges__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-challenges__grid {
        display: flex;
        grid-template-columns: none;
    }
}


/* 1.9.0 — Capçalera intacta i respiració superior del perfil */
/* El perfil sempre utilitza exactament la capçalera sòlida global. */
body.gfrm-public-photographer .gfrm-site-header:not(.is-scrolled),
body.page-template-public-profile .gfrm-site-header:not(.is-scrolled) {
    position: relative;
    inset: auto;
    background: rgba(12, 13, 15, .98);
    color: var(--gfrm-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .16);
}

/* En baixar la pàgina, conserva exactament el mateix disseny però queda fixada. */
body.gfrm-public-photographer .gfrm-site-header.is-scrolled,
body.page-template-public-profile .gfrm-site-header.is-scrolled {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10000;
    background: rgba(12, 13, 15, .98);
    color: var(--gfrm-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .16);
}

/* Respecta la barra d'administració de WordPress quan l'usuari està connectat. */
body.admin-bar.gfrm-public-photographer .gfrm-site-header.is-scrolled,
body.admin-bar.page-template-public-profile .gfrm-site-header.is-scrolled {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar.gfrm-public-photographer .gfrm-site-header.is-scrolled,
    body.admin-bar.page-template-public-profile .gfrm-site-header.is-scrolled {
        top: 46px;
    }
}

/* Navegació compacta entre el directori i el perfil públic. */
.gfrm-public-profile-page .gfrm-profile-hero {
    min-height: 52px;
    height: auto;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e7e9ec;
    background: #f6f7f8;
    background-image: none;
    overflow: visible;
}

.gfrm-public-profile-page .gfrm-profile-hero__content {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding-top: 0;
    padding-bottom: 0;
}

.gfrm-public-profile-page .gfrm-profile-breadcrumb {
    color: #727981;
}

.gfrm-public-profile-page .gfrm-profile-breadcrumb a {
    color: #171c21;
}

.gfrm-public-profile-page .gfrm-profile-breadcrumb a:hover,
.gfrm-public-profile-page .gfrm-profile-breadcrumb a:focus-visible {
    color: #8a6500;
}

.gfrm-public-profile-page .gfrm-profile-breadcrumb__separator {
    color: #b8bdc3;
}

.gfrm-public-profile-page .gfrm-profile-overview {
    padding-top: 0;
    background: var(--gfrm-white);
}

.gfrm-public-profile-page .gfrm-profile-card {
    margin-top: 0;
}

.gfrm-public-profile-page .gfrm-profile-footer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.gfrm-public-profile-page .gfrm-profile-footer-row .gfrm-profile-like-row {
    grid-column: 2;
    justify-self: end;
    align-self: center;
    margin: 0;
}

.gfrm-public-profile-page .gfrm-profile-like {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid #d8dde2;
    border-radius: 10px;
    background: var(--gfrm-white);
    color: #4d5660;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .04);
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.gfrm-public-profile-page .gfrm-profile-like__heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 21px;
    color: #9b7500;
    font-size: 0;
    line-height: 0;
}

.gfrm-public-profile-page .gfrm-profile-like__heart::before {
    content: none;
    display: none;
}

.gfrm-public-profile-page .gfrm-profile-like__heart svg {
    display: block;
    width: 22px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gfrm-public-profile-page .gfrm-profile-like strong {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f1f3f5;
    color: #48515a;
    font-size: .67rem;
}

.gfrm-public-profile-page .gfrm-profile-like:hover,
.gfrm-public-profile-page .gfrm-profile-like:focus-visible {
    border-color: #d4a71d;
    background: var(--gfrm-cream);
    color: #6f5600;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.gfrm-public-profile-page .gfrm-profile-like.is-liked {
    border-color: #d4a71d;
    background: #fff5cf;
    color: #654d00;
    box-shadow: 0 7px 18px rgba(184, 137, 0, .12);
}

.gfrm-public-profile-page .gfrm-profile-like.is-liked .gfrm-profile-like__heart {
    color: #c18e00;
}

.gfrm-public-profile-page .gfrm-profile-like.is-liked strong {
    background: var(--gfrm-white);
    color: #6b5100;
}

@media (max-width: 980px) {
    .gfrm-public-profile-page .gfrm-profile-hero {
        min-height: 24px;
        height: 24px;
    }
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-hero {
        min-height: 18px;
        height: 18px;
    }

    .gfrm-public-profile-page .gfrm-profile-footer-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gfrm-public-profile-page .gfrm-profile-footer-row .gfrm-profile-like-row {
        grid-column: 1;
        justify-self: start;
    }
}


/* 1.9.2 — Títols del perfil amb la signatura visual del Home */
.gfrm-public-profile-page .gfrm-profile-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.gfrm-public-profile-page .gfrm-profile-section-title::before {
    content: "";
    flex: 0 0 38px;
    width: 38px;
    height: 3px;
    border-radius: 999px;
    background: var(--gfrm-yellow, var(--gfrm-yellow));
}

.gfrm-public-profile-page .gfrm-profile-portfolio-header--about .gfrm-profile-eyebrow {
    display: none;
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-section-title {
        gap: 11px;
    }

    .gfrm-public-profile-page .gfrm-profile-section-title::before {
        flex-basis: 26px;
        width: 26px;
        height: 2px;
    }
}


/* 1.9.6 — Accés frontal des del botó social del perfil */
.gfrm-profile-like--login {
    text-decoration: none;
}

/* 1.14.22 — estat propi per als perfils privats i previsualització del propietari */
.gfrm-private-profile-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    margin-bottom: -8px;
    padding: 14px 18px;
    border: 1px solid #ead7aa;
    border-radius: 12px;
    background: #fff9e9;
    color: #342b19;
}

.gfrm-private-profile-preview > div {
    display: grid;
    gap: 3px;
}

.gfrm-private-profile-preview strong {
    font-size: .9rem;
}

.gfrm-private-profile-preview span {
    color: #74684f;
    font-size: .78rem;
}

.gfrm-private-profile-preview a {
    color: #6f5500;
    font-size: .76rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.gfrm-public-profile-page--private {
    min-height: calc(100vh - 180px);
}

.gfrm-private-profile-state {
    display: grid;
    align-items: center;
    min-height: clamp(520px, 68vh, 760px);
    padding: 72px 0;
    background:
        radial-gradient(circle at 78% 24%, rgba(244, 196, 0, .08), transparent 30%),
        #f4f6f7;
}

.gfrm-private-profile-state__card {
    width: min(100%, 720px);
    margin-inline: auto;
    padding: clamp(34px, 6vw, 64px);
    border: 1px solid #dfe4e7;
    border-radius: 20px;
    background: var(--gfrm-white);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
    text-align: center;
}

.gfrm-private-profile-state__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff4c9;
    color: #8a6900;
}

.gfrm-private-profile-state__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.gfrm-private-profile-state__eyebrow {
    margin: 0 0 8px;
    color: #9a7400;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gfrm-private-profile-state h1 {
    margin: 0;
    color: #11161b;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.04;
}

.gfrm-private-profile-state__card > p:not(.gfrm-private-profile-state__eyebrow) {
    max-width: 520px;
    margin: 18px auto 0;
    color: #65707a;
    font-size: 1rem;
    line-height: 1.65;
}

.gfrm-private-profile-state__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.gfrm-private-profile-state__actions .gfrm-button {
    min-height: 46px;
}

@media (max-width: 640px) {
    .gfrm-private-profile-preview {
        align-items: flex-start;
        flex-direction: column;
        margin-inline: 12px;
    }

    .gfrm-private-profile-state {
        min-height: 520px;
        padding: 44px 0;
    }

    .gfrm-private-profile-state__card {
        padding: 34px 22px;
        border-radius: 16px;
    }

    .gfrm-private-profile-state__actions {
        display: grid;
    }
}


/* 1.14.46 · equip fotogràfic compacte i desplegable */
.gfrm-profile-meta__item--equipment {
    align-items: flex-start;
}

.gfrm-profile-equipment-summary {
    min-width: 0;
}

.gfrm-profile-equipment-summary__text {
    display: -webkit-box;
    overflow: hidden;
    max-height: 5.8em;
    color: inherit;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.gfrm-profile-meta__item--equipment.is-collapsible:not(.is-expanded) .gfrm-profile-equipment-summary__text {
    position: relative;
}

.gfrm-profile-meta__item--equipment.is-expanded .gfrm-profile-equipment-summary__text {
    display: block;
    overflow: visible;
    max-height: none;
    -webkit-line-clamp: initial;
}

.gfrm-profile-equipment-toggle {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin: -5px -7px -10px;
    padding: 0 7px;
    border: 0;
    background: transparent;
    color: #8a6500;
    font: inherit;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1.35;
    cursor: pointer;
}

.gfrm-profile-equipment-toggle::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 10px;
    height: 1px;
    background: rgba(195,143,0,.5);
}

.gfrm-profile-equipment-toggle:hover,
.gfrm-profile-equipment-toggle:focus-visible {
    color: #634900;
}

.gfrm-profile-equipment-toggle:hover::after,
.gfrm-profile-equipment-toggle:focus-visible::after {
    background: #8a6500;
}

.gfrm-profile-equipment-toggle:focus-visible {
    outline: 2px solid #e7bd46;
    outline-offset: 3px;
}


/* 1.14.48 · navegació de retorn al directori de fotògrafs */
.gfrm-profile-hero__content {
    display: flex;
    align-items: flex-end;
    padding-bottom: 46px;
}

.gfrm-profile-breadcrumb {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    color: rgba(255,255,255,.62);
    font-size: .8rem;
    font-weight: 750;
    line-height: 1.2;
}

.gfrm-profile-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.gfrm-profile-breadcrumb a:hover,
.gfrm-profile-breadcrumb a:focus-visible {
    color: var(--gfrm-profile-yellow);
    transform: translateX(-2px);
}

.gfrm-profile-breadcrumb__separator {
    color: rgba(255,255,255,.3);
}

.gfrm-profile-breadcrumb [aria-current="page"] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .gfrm-profile-hero__content {
        padding-bottom: 26px;
    }

    .gfrm-profile-breadcrumb {
        font-size: .75rem;
    }

    .gfrm-profile-breadcrumb__separator,
    .gfrm-profile-breadcrumb [aria-current="page"] {
        display: none;
    }
}

/* 1.14.49 · respecta l'estat hidden del desplegable d'equip */
.gfrm-profile-equipment-toggle[hidden] {
    display: none !important;
}


/* Protecció global dels portafolis: redueix les descàrregues casuals sense prometre protecció absoluta. */
.gfrm-user-portfolio[data-gfrm-download-protection="1"] img,
.gfrm-lightbox.is-download-protected .gfrm-lightbox__image {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
}


/* 1.14.64 — Recompte compacte de visites al costat de la interacció */
.gfrm-public-profile-page .gfrm-profile-engagement {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    min-width: 0;
}

.gfrm-public-profile-page .gfrm-profile-engagement .gfrm-profile-like-row {
    margin: 0;
}

.gfrm-public-profile-page .gfrm-profile-view-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 54px;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid #d9dee4;
    border-radius: 10px;
    background: #f8f9fa;
    color: #66717c;
    font-size: .82rem;
    line-height: 1;
    white-space: nowrap;
}

.gfrm-public-profile-page .gfrm-profile-view-count svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
}

.gfrm-public-profile-page .gfrm-profile-view-count strong {
    color: #1f262d;
    font-size: .84rem;
    font-weight: 850;
}

@media (max-width: 980px) {
    .gfrm-public-profile-page .gfrm-profile-engagement {
        justify-self: start;
        flex-wrap: wrap;
    }
}


/* 1.14.98 — Portafoli complet i tractament de fotografies verticals */
.gfrm-public-profile-page .gfrm-profile-portfolio-toggle {
    display: none !important;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card.is-portrait,
.gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item.is-portrait {
    background: #11171d;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card.is-portrait img,
.gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item.is-portrait img {
    object-fit: contain !important;
    object-position: center;
    padding: 8px;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-profile-photo-card.is-portrait:hover img,
.gfrm-public-profile-page .gfrm-profile-portfolio-shortcode .gfrm-user-portfolio__item.is-portrait:hover img {
    transform: none;
}

/* 1.15.08 — Participacions als reptes integrades al portafoli */
.gfrm-public-profile-page .gfrm-profile-challenges {
    padding: 64px 0 78px;
    background: #f6f7f8;
}

.gfrm-public-profile-page .gfrm-profile-challenges__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.gfrm-public-profile-page .gfrm-profile-challenges__intro h2 {
    position: relative;
    margin: 0;
    padding-left: 30px;
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.gfrm-public-profile-page .gfrm-profile-challenges__intro h2::before {
    content: "";
    position: absolute;
    top: .58em;
    left: 0;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--gfrm-yellow, #f5b900);
}

.gfrm-public-profile-page .gfrm-profile-challenges__intro p {
    margin: 10px 0 0;
    color: #68717b;
    font-size: .96rem;
    line-height: 1.55;
}

.gfrm-public-profile-page .gfrm-profile-challenges__summary {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    margin: 0 0 3px;
    color: #171c21;
    font-size: .9rem;
}

.gfrm-public-profile-page .gfrm-profile-challenges__summary span {
    color: #d39b00;
}

.gfrm-public-profile-page .gfrm-profile-challenges__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
    align-items: start;
    gap: 18px;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card {
    position: relative;
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    aspect-ratio: auto;
    overflow: hidden;
    border: 1px solid rgba(20, 27, 34, .07);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 27, 34, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card.is-portrait {
    grid-column: span 3;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card.is-square {
    grid-column: span 3;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card:hover,
.gfrm-public-profile-page .gfrm-profile-challenge-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(220, 166, 0, .34);
    box-shadow: 0 16px 38px rgba(20, 27, 34, .11);
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__image {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #10161c;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card.is-portrait .gfrm-profile-challenge-card__image {
    aspect-ratio: 3 / 4;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card.is-square .gfrm-profile-challenge-card__image {
    aspect-ratio: 1 / 1;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .48s cubic-bezier(.2, .7, .2, 1), filter .25s ease;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card:hover .gfrm-profile-challenge-card__image img,
.gfrm-public-profile-page .gfrm-profile-challenge-card:focus-within .gfrm-profile-challenge-card__image img {
    transform: scale(1.025);
    filter: none;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 14px 16px 15px;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__footer > div {
    min-width: 0;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__footer strong {
    display: block;
    overflow: hidden;
    color: #171c21;
    font-size: .92rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__footer span:not(.gfrm-profile-challenge-card__arrow) {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    color: #737c85;
    font-size: .75rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__arrow {
    flex: 0 0 auto;
    color: #d79f00;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform .2s ease;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card:hover .gfrm-profile-challenge-card__arrow,
.gfrm-public-profile-page .gfrm-profile-challenge-card:focus-within .gfrm-profile-challenge-card__arrow {
    transform: translateX(3px);
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__badge {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(255, 247, 209, .96), rgba(221, 176, 50, .94));
    color: #523b00;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .72);
    backdrop-filter: blur(8px);
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__badge strong {
    font-size: .82rem;
    line-height: 1;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__badge.is-position-2 {
    background: linear-gradient(145deg, rgba(250, 251, 252, .97), rgba(179, 184, 190, .95));
    color: #343a40;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__badge.is-position-3 {
    background: linear-gradient(145deg, rgba(255, 233, 216, .97), rgba(190, 118, 68, .95));
    color: #633318;
}

.gfrm-public-profile-page .gfrm-profile-challenge-card__shade,
.gfrm-public-profile-page .gfrm-profile-challenge-card__content,
.gfrm-public-profile-page .gfrm-profile-challenge-card__challenge-link {
    display: none;
}

@media (max-width: 980px) {
    .gfrm-public-profile-page .gfrm-profile-challenge-card,
    .gfrm-public-profile-page .gfrm-profile-challenge-card.is-square,
    .gfrm-public-profile-page .gfrm-profile-challenge-card.is-portrait {
        grid-column: span 6;
    }
}

@media (max-width: 720px) {
    .gfrm-public-profile-page .gfrm-profile-challenges {
        padding: 48px 0 58px;
    }

    .gfrm-public-profile-page .gfrm-profile-challenges__header {
        display: block;
        margin-bottom: 22px;
    }

    .gfrm-public-profile-page .gfrm-profile-challenges__intro h2 {
        padding-left: 25px;
        font-size: clamp(1.8rem, 8vw, 2.35rem);
    }

    .gfrm-public-profile-page .gfrm-profile-challenges__summary {
        margin-top: 14px;
    }

    .gfrm-public-profile-page .gfrm-profile-challenges__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .gfrm-public-profile-page .gfrm-profile-challenge-card,
    .gfrm-public-profile-page .gfrm-profile-challenge-card.is-square,
    .gfrm-public-profile-page .gfrm-profile-challenge-card.is-portrait {
        grid-column: span 1;
        width: 100%;
        flex: none;
    }

    .gfrm-public-profile-page .gfrm-profile-challenge-card__image,
    .gfrm-public-profile-page .gfrm-profile-challenge-card.is-portrait .gfrm-profile-challenge-card__image,
    .gfrm-public-profile-page .gfrm-profile-challenge-card.is-square .gfrm-profile-challenge-card__image {
        aspect-ratio: 4 / 5;
    }

    .gfrm-public-profile-page .gfrm-profile-challenge-card__footer {
        min-height: 66px;
        padding: 12px;
    }

    .gfrm-public-profile-page .gfrm-profile-challenge-card__footer strong {
        font-size: .82rem;
    }

    .gfrm-public-profile-page .gfrm-profile-challenge-card__footer span:not(.gfrm-profile-challenge-card__arrow) {
        font-size: .68rem;
    }
}

@media (max-width: 440px) {
    .gfrm-public-profile-page .gfrm-profile-challenges__grid {
        grid-template-columns: 1fr;
    }

    .gfrm-public-profile-page .gfrm-profile-challenge-card__image,
    .gfrm-public-profile-page .gfrm-profile-challenge-card.is-portrait .gfrm-profile-challenge-card__image,
    .gfrm-public-profile-page .gfrm-profile-challenge-card.is-square .gfrm-profile-challenge-card__image {
        aspect-ratio: auto;
        min-height: 0;
    }

    .gfrm-public-profile-page .gfrm-profile-challenge-card__image img {
        height: auto;
        max-height: 72vh;
        object-fit: contain;
        background: #10161c;
    }
}

/* 1.15.14 — Restauració prioritària de les miniatures del portafoli públic.
   Aïlla i neutralitza qualsevol amplada shrink-to-fit aportada pel Core. */
.gfrm-public-profile-page #portafoli .gfrm-profile-portfolio-shortcode,
.gfrm-public-profile-page #portafoli .gfrm-user-portfolio,
.gfrm-public-profile-page #portafoli .gfrm-user-portfolio__grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.gfrm-public-profile-page #portafoli .gfrm-user-portfolio {
    display: block !important;
}

.gfrm-public-profile-page #portafoli .gfrm-user-portfolio__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

.gfrm-public-profile-page #portafoli .gfrm-user-portfolio__item {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 !important;
}

.gfrm-public-profile-page #portafoli .gfrm-user-portfolio__item > a,
.gfrm-public-profile-page #portafoli .gfrm-user-portfolio__item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 900px) {
    .gfrm-public-profile-page #portafoli .gfrm-user-portfolio__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .gfrm-public-profile-page #portafoli .gfrm-user-portfolio__grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 12px !important;
    }

    .gfrm-public-profile-page #portafoli .gfrm-user-portfolio__item {
        flex: 0 0 min(84vw, 360px) !important;
        width: min(84vw, 360px) !important;
    }
}

/* 1.15.15 — Noms, pseudònims i títols de portafoli llargs sense trencar el perfil. */
.gfrm-public-profile-page .gfrm-profile-identity {
    min-width: 0;
}

.gfrm-public-profile-page .gfrm-profile-name {
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: anywhere;
    word-break: normal;
}

.gfrm-public-profile-page .gfrm-profile-alias {
    max-width: 100%;
    margin: .42rem 0 0;
    color: #68717b;
    font-size: clamp(.95rem, 1.35vw, 1.18rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
}

.gfrm-public-profile-page .gfrm-profile-alias + .gfrm-profile-tagline {
    margin-top: .45rem;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-header--about .gfrm-profile-portfolio-header__intro {
    min-width: 0;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-heading {
    max-width: 820px;
}

.gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
    max-width: 100%;
    font-size: clamp(2rem, 3.15vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-author {
    margin: .65rem 0 0;
    color: #69727b;
    font-size: clamp(.9rem, 1.1vw, 1rem);
    font-weight: 800;
    line-height: 1.3;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-heading + p {
    margin-top: 1rem;
}

@media (max-width: 980px) {
    .gfrm-public-profile-page .gfrm-profile-name {
        font-size: clamp(2.35rem, 6vw, 3.25rem);
        line-height: 1;
    }

    .gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
        font-size: clamp(1.8rem, 4.8vw, 2.75rem);
    }
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-name {
        font-size: clamp(2rem, 10vw, 2.55rem);
        line-height: 1.02;
    }

    .gfrm-public-profile-page .gfrm-profile-alias {
        font-size: .98rem;
    }

    .gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
        font-size: clamp(1.65rem, 8.5vw, 2.25rem);
        line-height: 1.08;
    }
}


/* 1.15.16 — Títol del portafoli i presentació en dues columnes. */
.gfrm-public-profile-page .gfrm-profile-portfolio-header--about {
    margin-bottom: clamp(1.5rem, 2.4vw, 2.25rem);
}

.gfrm-public-profile-page .gfrm-profile-portfolio-header--about .gfrm-profile-portfolio-header__intro {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(320px, 1.12fr);
    align-items: start;
    gap: clamp(2.25rem, 5vw, 5.5rem);
    width: 100%;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-heading {
    max-width: none;
    min-width: 0;
}

.gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(2rem, 2.85vw, 3.15rem);
    line-height: 1.04;
    text-wrap: balance;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-bio {
    min-width: 0;
    padding-top: clamp(.2rem, .8vw, .85rem);
}

.gfrm-public-profile-page .gfrm-profile-portfolio-bio p {
    max-width: 62ch;
    margin: 0;
    color: #59636d;
    font-size: clamp(.98rem, 1.12vw, 1.08rem);
    line-height: 1.7;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-heading + .gfrm-profile-portfolio-bio {
    margin-top: 0;
}

@media (max-width: 980px) {
    .gfrm-public-profile-page .gfrm-profile-portfolio-header--about .gfrm-profile-portfolio-header__intro {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
        gap: clamp(1.75rem, 4vw, 3rem);
    }

    .gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
        max-width: 18ch;
    }
}

@media (max-width: 760px) {
    .gfrm-public-profile-page .gfrm-profile-portfolio-header--about .gfrm-profile-portfolio-header__intro {
        display: block;
    }

    .gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
        max-width: 100%;
    }

    .gfrm-public-profile-page .gfrm-profile-portfolio-bio {
        padding-top: 1rem;
    }

    .gfrm-public-profile-page .gfrm-profile-portfolio-bio p {
        max-width: 100%;
    }
}

/* 1.15.17 — Títol i presentació del portafoli en dues línies horitzontals. */
.gfrm-public-profile-page .gfrm-profile-portfolio-header--about {
    margin-bottom: clamp(1.5rem, 2.4vw, 2.25rem);
}

.gfrm-public-profile-page .gfrm-profile-portfolio-header--about .gfrm-profile-portfolio-header__intro {
    display: block;
    width: 100%;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-heading {
    width: 100%;
    max-width: 1120px;
    min-width: 0;
}

.gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
    margin: 0;
    max-width: 100%;
    font-size: clamp(1.85rem, 2.45vw, 2.85rem);
    line-height: 1.06;
    letter-spacing: -.04em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-bio {
    width: 100%;
    max-width: 920px;
    margin-top: clamp(.9rem, 1.5vw, 1.25rem);
    padding-top: 0;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-bio p {
    max-width: 100%;
    margin: 0;
    color: #59636d;
    font-size: clamp(.95rem, 1.05vw, 1.05rem);
    line-height: 1.68;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-heading + .gfrm-profile-portfolio-bio {
    margin-top: clamp(.9rem, 1.5vw, 1.25rem);
}

@media (max-width: 980px) {
    .gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
        font-size: clamp(1.75rem, 4.2vw, 2.45rem);
        line-height: 1.08;
    }

    .gfrm-public-profile-page .gfrm-profile-portfolio-bio {
        max-width: 780px;
    }
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
        font-size: clamp(1.55rem, 7.4vw, 2.05rem);
        line-height: 1.1;
    }

    .gfrm-public-profile-page .gfrm-profile-portfolio-bio {
        margin-top: .85rem;
    }

    .gfrm-public-profile-page .gfrm-profile-portfolio-bio p {
        font-size: .96rem;
        line-height: 1.62;
    }
}

/* 1.15.18 — Amplada real del títol i la presentació del portafoli. */
.gfrm-public-profile-page .gfrm-profile-portfolio-header--about .gfrm-profile-portfolio-header__intro {
    width: 100%;
    max-width: none;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-heading {
    width: 100%;
    max-width: none;
}

.gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
    width: 100%;
    max-width: none;
    font-size: clamp(1.7rem, 2.15vw, 2.55rem);
    line-height: 1.08;
    text-wrap: pretty;
}

.gfrm-public-profile-page .gfrm-profile-portfolio-bio {
    width: 100%;
    max-width: 1050px;
}

@media (max-width: 980px) {
    .gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
        font-size: clamp(1.65rem, 3.8vw, 2.25rem);
    }
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-section-title--portfolio {
        font-size: clamp(1.5rem, 7vw, 1.95rem);
        line-height: 1.12;
    }
}

/* 1.15.19 — Alineació de la presentació amb el text del títol del portafoli. */
.gfrm-public-profile-page .gfrm-profile-portfolio-header--about .gfrm-profile-portfolio-bio {
    box-sizing: border-box;
    margin-left: 0;
    padding-left: 52px;
}

@media (max-width: 620px) {
    .gfrm-public-profile-page .gfrm-profile-portfolio-header--about .gfrm-profile-portfolio-bio {
        padding-left: 37px;
    }
}

.gfrm-photo-personal-tags{display:block;margin-top:.35rem;font-size:.72rem;font-weight:600;opacity:.78;letter-spacing:.01em}.gfrm-photo-personal-tags::before{content:'# ';color:#d5a400}


/* 1.18.35 — Recupera el control editorial de Foto del mes al perfil públic. */
.gfrm-public-profile-page .gfrm-user-portfolio__item {
    position: relative;
}
.gfrm-public-profile-page .gfrm-photo-month-admin-action {
    position: absolute;
    z-index: 8;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease;
}
.gfrm-public-profile-page .gfrm-user-portfolio__item:hover .gfrm-photo-month-admin-action,
.gfrm-public-profile-page .gfrm-user-portfolio__item:focus-within .gfrm-photo-month-admin-action,
.gfrm-public-profile-page .gfrm-user-portfolio__item.is-photo-of-month .gfrm-photo-month-admin-action {
    opacity: 1;
    transform: translateY(0);
}
.gfrm-public-profile-page .gfrm-photo-month-admin-action form {
    margin: 0;
    pointer-events: auto;
}
.gfrm-public-profile-page .gfrm-photo-month-admin-action button,
.gfrm-public-profile-page .gfrm-photo-month-admin-action span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(8,13,18,.82);
    color: #fff !important;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.gfrm-public-profile-page .gfrm-photo-month-admin-action button {
    cursor: pointer;
}
.gfrm-public-profile-page .gfrm-photo-month-admin-action button:hover,
.gfrm-public-profile-page .gfrm-photo-month-admin-action button:focus-visible,
.gfrm-public-profile-page .gfrm-user-portfolio__item.is-photo-of-month .gfrm-photo-month-admin-action span {
    background: #f2bd18;
    color: #111 !important;
}
.gfrm-public-profile-page .gfrm-user-portfolio__item.is-photo-of-month {
    outline: 3px solid #f2bd18;
    outline-offset: -3px;
}
@media (hover: none) {
    .gfrm-public-profile-page .gfrm-photo-month-admin-action {
        opacity: 1;
        transform: none;
    }
}
