/**
 * GH Ad Tracker Styles
 */

/* Target the specific component structure more aggressively */
aside.widget-area:has(.gh-ad[data-placement="post_sidebar_sticky"]) .background,
aside.sidebar:has(.gh-ad[data-placement="post_sidebar_sticky"]) .background {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Remove any other container styling from the aside */
aside.widget-area:has(.gh-ad[data-placement="post_sidebar_sticky"]),
aside.sidebar:has(.gh-ad[data-placement="post_sidebar_sticky"]) {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Ensure the widget wrapper itself is transparent and has no padding/margin if needed */
aside.widget-area:has(.gh-ad[data-placement="post_sidebar_sticky"]) .zeen-widget,
aside.sidebar:has(.gh-ad[data-placement="post_sidebar_sticky"]) .zeen-widget {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Ensure the textwidget container doesn't have a background */
aside.widget-area:has(.gh-ad[data-placement="post_sidebar_sticky"]) .textwidget,
aside.sidebar:has(.gh-ad[data-placement="post_sidebar_sticky"]) .textwidget {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

/* Target the main sidebar container to remove padding */
aside.widget-area:has(.gh-ad[data-placement="post_sidebar_sticky"]),
aside.sidebar:has(.gh-ad[data-placement="post_sidebar_sticky"]) {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}