/* Write your custom CSS here */
/* Footer ve widget sosyal medya butonları için marka renkleri */
.footer-social a.facebook, .widget-social a.facebook    { background: #345aa8; }
.footer-social a.instagram, .widget-social a.instagram  { background: #ff1d7d; }
.footer-social a.twitter, .widget-social a.twitter      { background: #55acef; }
.footer-social a.linkedin, .widget-social a.linkedin    { background: #0077b5; }
.footer-social a.youtube, .widget-social a.youtube      { background: #FF0000; }
.footer-social a.whatsapp, .widget-social a.whatsapp    { background: #25D366; }
.footer-social a.telegram, .widget-social a.telegram    { background: #0088cc; }
.footer-social a, .widget-social a {
    color: #fff !important;
    border-radius: 10px;
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin-left: 5px;
    font-size: 14px;
    transition: background 0.2s;
}
.footer-social a:hover, .widget-social a:hover {
    filter: brightness(1.1);
    color: #fff !important;
}

/* Popup video: Force 9:16 aspect for Instagram embeds */
.mfp-wrap.is-instagram .mfp-iframe-scaler {
    padding-top: 177.78%; /* 9:16 */
}
.mfp-wrap.is-instagram .mfp-iframe-scaler .mfp-iframe {
    transform: translateZ(0);
}

/* Compact popup size */
.mfp-content {
    max-width: 360px;
}

/* Ensure iframe fully fits the scaler */
.mfp-iframe-scaler .mfp-iframe {
    width: 100%;
    height: 100%;
}

/* Instagram specific popup styling */
.mfp-wrap.is-instagram .mfp-content {
    max-width: 360px;
    margin: 0 auto;
}

.mfp-wrap.is-instagram .mfp-iframe-scaler {
    padding-top: 177.78%; /* 9:16 aspect ratio for Instagram */
    max-width: 360px;
    margin: 0 auto;
}

/* Force Instagram popup to be compact */
.mfp-wrap.is-instagram .mfp-iframe-scaler iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* Inline compact player */
.inline-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px; /* keep it compact */
    margin: 0 auto;
    background: #000;
    overflow: hidden;
    border-radius: 8px;
}
.inline-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
.inline-video-wrapper.ratio-16x9 { padding-top: 56.25%; }
.inline-video-wrapper.ratio-9x16 { padding-top: 177.78%; }

/* Ensure play button sits on top and is clickable */
.fv-box .img,
.fv-box2 .img,
.bsingle__post-thumb.video-p {
    position: relative;
}
.fv-box .img .video-i,
.fv-box2 .img .video-i,
.bsingle__post-thumb.video-p .video-i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: auto;
}
.fv-box .img > img,
.fv-box2 .img > img,
.bsingle__post-thumb.video-p > img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none; /* let overlay capture clicks */
}