/* SerieAGoal v1.76 — profile headers integrated into the shared canvas.
   Only TEAM, PLAYER and COMPETITION profiles in public football layout.
   Keep logos/photos, titles, follow button, tab interaction and all data.
   Never touch match header, News, Premium, sidebars or ads. */

/* No separate framed block holding the profile heading and its navigation. */
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > :is(
 .sg-team-profile,.sg-player-profile,.sg-competition-profile
) {
 background:transparent!important;background-image:none!important;
 border:0!important;outline:0!important;box-shadow:none!important;
 border-radius:0!important;overflow:visible!important;
 padding:0!important;margin:0 0 19px!important;
}

/* Remove tinted hero, decorative gradients and the oversized padded slab. */
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-team-profile > .sg-team-cover,
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-competition-profile > .sg-competition-cover,
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-player-profile > .sg-player-profile-hero {
 background:transparent!important;background-image:none!important;
 border:0!important;outline:0!important;box-shadow:none!important;
 border-radius:0!important;
 min-height:108px!important;
 padding:14px 12px 15px!important;
 align-items:center!important;
 box-sizing:border-box!important;
}
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-team-profile > .sg-team-cover::before,
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-competition-profile > .sg-competition-cover::before,
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-player-profile > .sg-player-profile-hero::before {
 content:none!important;display:none!important;
}

/* Logo should not look like a separate white card. Keep its original dimensions. */
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-team-profile .sg-team-profile-logo,
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-competition-profile .sg-competition-profile-logo {
 background:transparent!important;background-image:none!important;
 box-shadow:none!important;border:0!important;outline:0!important;
 border-radius:0!important;
}

/* Tabs are an unboxed navigation line, not another full-width rectangle. */
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > :is(
 .sg-team-profile,.sg-player-profile,.sg-competition-profile
) > nav.sg-profile-tabs {
 background:transparent!important;background-image:none!important;
 box-shadow:none!important;border:0!important;border-radius:0!important;
 outline:0!important;
 padding:0 12px!important;
 margin:0!important;min-height:43px!important;
 display:flex!important;align-items:stretch!important;
 overflow-x:auto!important;overflow-y:hidden!important;
 scrollbar-width:none;
}
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > :is(.sg-team-profile,.sg-player-profile,.sg-competition-profile) > nav.sg-profile-tabs::-webkit-scrollbar {
 display:none;
}
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > :is(.sg-team-profile,.sg-player-profile,.sg-competition-profile) > nav.sg-profile-tabs > a {
 background:transparent!important;background-image:none!important;
 box-shadow:none!important;border:0!important;border-radius:0!important;
 outline-offset:-2px;
 border-bottom:2px solid transparent!important;
 flex-shrink:0!important;
}
html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > :is(.sg-team-profile,.sg-player-profile,.sg-competition-profile) > nav.sg-profile-tabs > a.is-active {
 border-bottom-color:var(--sg-accent)!important;
 color:var(--sg-accent)!important;
}

@media(max-width:760px){
 html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-team-profile > .sg-team-cover,
 html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-competition-profile > .sg-competition-cover,
 html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > .sg-player-profile > .sg-player-profile-hero {
  min-height:92px!important;padding:12px 12px 11px!important;gap:9px!important;
 }
 html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-main .sg-feed > :is(.sg-team-profile,.sg-player-profile,.sg-competition-profile) > nav.sg-profile-tabs {
  padding-inline:12px!important;
 }
}
