/* =========================================================
   Kinky Culture Ads
   ========================================================= */


/* ---------------------------------------------------------
   Shared Revive ad styles
   --------------------------------------------------------- */

.kc-revive-ad {
    position: relative;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    overflow: visible;
}

/* Label intentionally hidden: ad creatives should carry their own branding */
.kc-revive-ad-label {
    display: none !important;
}

.kc-revive-ad ins {
    display: block;
    width: 100%;
    text-decoration: none;
}

.kc-revive-ad a {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.kc-revive-ad img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}


/* ---------------------------------------------------------
   Homepage magazine ad
   Zone: KC-HOME-MAGAZINE-01
   --------------------------------------------------------- */

.kc-ad-home-magazine {
    height: clamp(280px, 22vw, 380px);
    background: transparent;
    border: 0;
}

.kc-revive-home-magazine .kc-revive-ad-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.kc-revive-home-magazine .kc-revive-ad-inner ins {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.kc-revive-home-magazine .kc-revive-ad-inner a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.kc-revive-home-magazine .kc-revive-ad-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ---------------------------------------------------------
   Homepage wide ad
   Zone: KC-HOME-WIDE-01
   --------------------------------------------------------- */

.kc-ad-wide {
    margin-top: 30px;
    margin-bottom: 0;
}

.kc-ad-wide-inner {
    position: relative;
    background: transparent;
    border: 0;
    overflow: visible;
}

.kc-revive-home-wide .kc-ad-wide-inner {
    min-height: 0;
}

.kc-revive-wide-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

.kc-revive-wide-inner ins {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    text-decoration: none;
}

.kc-revive-wide-inner a {
    display: flex;
    width: 100%;
}

.kc-revive-wide-inner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Reduce spacing before the following post grid */
.kc-ad-wide + .gh-container {
    margin-top: 0;
    padding-top: 24px;
}

.kc-ad-wide + .gh-container .gh-container-inner {
    padding-top: 0;
}


/* ---------------------------------------------------------
   Post inline ad
   Zone: KC-POST-INLINE-01
   --------------------------------------------------------- */

.kc-post-inline-ad {
    position: relative;
    margin: 48px 0;
    padding: 0;
    background: transparent;
    border: 0;
    overflow: visible;
}

.kc-revive-post-inline-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0;
}

.kc-revive-post-inline-inner ins {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    text-decoration: none;
}

.kc-revive-post-inline-inner a {
    display: flex;
    width: 100%;
}

.kc-revive-post-inline-inner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 767px) {
    .kc-ad-home-magazine {
        height: auto;
        min-height: 260px;
    }

    .kc-revive-home-magazine .kc-revive-ad-inner,
    .kc-revive-home-magazine .kc-revive-ad-inner ins,
    .kc-revive-home-magazine .kc-revive-ad-inner a {
        min-height: 260px;
    }

    .kc-ad-wide {
        margin-top: 32px;
        margin-bottom: 0;
    }

    .kc-ad-wide + .gh-container {
        padding-top: 24px;
    }

    .kc-post-inline-ad {
        margin: 36px 0;
    }
}