/*
Theme Name:   GeneratePress Child
Theme URI:    https://ytapi.alpha2a.online
Description:  Child theme for GeneratePress — Instagram Downloader site.
Author:       Wexify
Template:     generatepress
Version:      1.0.0
Text Domain:  generatepress-child
*/

/* Your custom CSS goes below this line.
   Anything written here overrides the parent theme's styles. */


/* =========================================================
IG Downloader — base styles (moved from the [ig_downloader] shortcode <style> tag)
Dynamic color overrides (admin settings) remain inline in ig-downloader.php.
========================================================= */
.idl{
   --idl-radius: 999px;
   --idl-grad:   linear-gradient(135deg,#6A2BD9 0%,#E1306C 55%,#F77737 100%);
   --idl-text:   #1A1A1A;
   --idl-muted:  #8A8A8A;
   --idl-card:   #FFFFFF;
   --idl-shadow: 0 12px 36px rgba(20,20,40,.08);
   --idl-error:  #C92A2A;
   width:100%;margin:0 auto;font-family:inherit;
}
@keyframes idl-spin{to{transform:rotate(360deg)}}
.idl .idl-result{margin-top:18px;width:100%}
.idl .idl-result:empty{display:none}
.idl .idl-tpl-primer{position:absolute !important;left:-99999px !important;top:-99999px !important;width:1px !important;height:1px !important;overflow:hidden !important;visibility:hidden !important;pointer-events:none !important;opacity:0 !important;}
.idl .idl-msg{font-size:14px;padding:14px 16px;border-radius:14px;background:#FFF3F3;color:var(--idl-error);border:1px solid #F1C0C0;box-shadow:var(--idl-shadow);text-align:center;letter-spacing:normal;}
.idl .idl-msg-title{font-weight:700;font-size:15px;color:var(--idl-error);}
.idl .idl-msg-sub{margin-top:5px;font-size:13px;font-weight:400;color:#8E8E8E;line-height:1.5;}
.idl .idl-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:28px 24px;background:transparent;color:#262626;text-align:center;}
.idl .idl-ig-loader{position:relative;width:56px;height:56px;}
.idl .idl-ig-ring{position:absolute;inset:0;border-radius:50%;background:linear-gradient(135deg,#feda75 0%,#fa7e1e 25%,#d62976 50%,#962fbf 75%,#4f5bd5 100%);opacity:.92;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));}
.idl .idl-ig-spin{position:absolute;inset:0;animation:idl-spin .85s linear infinite;}
.idl .idl-ig-spin .idl-ig-spark{position:absolute;top:-2px;left:50%;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:#fff;box-shadow:0 0 8px 2px rgba(255,255,255,.85);}
.idl .idl-ig-text{font-weight:800;font-size:16px;letter-spacing:-.01em;color:#262626;margin-top:4px;}
.idl .idl-brand-loader{width:104px;height:104px;display:grid;place-items:center;}
.idl .idl-brand-svg{width:104px;height:104px;overflow:visible;animation:idl-brand-spin 7s linear infinite;}
@keyframes idl-brand-spin{to{transform:rotate(360deg);}}
.idl a.idl-dl-loading{position:relative !important;color:transparent !important;pointer-events:none !important;cursor:wait !important;}
.idl a.idl-dl-loading *{color:transparent !important;visibility:hidden !important;}
.idl a.idl-dl-loading::after{content:'';position:absolute !important;top:50% !important;left:50% !important;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid #fff;border-top-color:transparent;border-radius:50%;animation:idl-spin .8s linear infinite;visibility:visible !important;display:block !important;}
.idl a[data-fetch-action].idl-dl-loading::after{display:none !important;}
.idl a.idl-dl-loading .idl-icon-loading,
.idl a.idl-dl-loading .idl-icon-loading *{visibility:visible !important;}
.idl a.idl-loadmore-disabled,
.idl a.idl-loadmore-disabled:hover,
.idl a.idl-loadmore-disabled:focus{opacity:.5 !important;cursor:not-allowed !important;pointer-events:none !important;box-shadow:none !important;transform:none !important;}
.idl .idl-profile-link{cursor:pointer !important;}
.idl .idl-caption-wrap{display:inline;}
.idl .idl-caption-more{
   background:none !important;border:0 !important;padding:0 !important;margin:0 0 0 2px !important;
   color:#6A2BD9 !important;cursor:pointer !important;font:inherit !important;
   font-weight:600 !important;text-decoration:underline !important;
   -webkit-appearance:none !important;appearance:none !important;
}
.idl .idl-caption-more:hover,.idl .idl-caption-more:focus{filter:brightness(1.1) !important;outline:0 !important;}
.idl .idl-caption-extra[hidden],.idl .idl-caption-ellipsis[hidden]{display:none !important;}
.idl .idl-post-thumb-slot:not(img),
.idl .idl-reel-thumb-slot:not(img),
.idl .idl-stories-thumb-slot:not(img),
.idl .idl-highlight-cover-slot:not(img),
.idl .idl-preview-slot{position:relative !important;}
.idl .idl-post-thumb-slot img,
.idl .idl-reel-thumb-slot img,
.idl .idl-stories-thumb-slot img,
.idl .idl-highlight-cover-slot img,
.idl img.idl-post-thumb-slot,
.idl img.idl-reel-thumb-slot,
.idl img.idl-stories-thumb-slot,
.idl img.idl-highlight-cover-slot,
.idl .idl-preview-slot img,
.idl .idl-card-media{opacity:0;}
.idl .idl-loaded > img,
.idl .idl-loaded.idl-post-thumb-slot img,
.idl .idl-loaded.idl-reel-thumb-slot img,
.idl .idl-loaded.idl-stories-thumb-slot img,
.idl .idl-loaded.idl-highlight-cover-slot img,
.idl img.idl-post-thumb-slot.idl-loaded,
.idl img.idl-reel-thumb-slot.idl-loaded,
.idl img.idl-stories-thumb-slot.idl-loaded,
.idl img.idl-highlight-cover-slot.idl-loaded,
.idl .idl-preview-slot.idl-loaded img,
.idl .idl-preview-slot.idl-loaded .idl-card-media,
.idl .idl-loaded > .idl-card-media,
.idl .idl-card-media.idl-loaded{opacity:1 !important;}
.idl .idl-thumb-spinner{
   position:absolute;top:50%;left:50%;
   width:32px;height:32px;margin:-16px 0 0 -16px;
   z-index:1;pointer-events:none;
}
.idl .idl-thumb-spinner .idl-ig-ring{-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));}
.idl .idl-thumb-spinner .idl-ig-spark{top:-1px;width:6px;height:6px;margin-left:-3px;box-shadow:0 0 6px 1.5px rgba(255,255,255,.85);}
.idl .idl-icon-loading{position:absolute;top:50%;left:50%;width:32px;height:32px;margin:-16px 0 0 -16px;z-index:2;pointer-events:none;}
.idl .idl-icon-loading .idl-ig-ring{-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));background:#262626 !important;}
.idl .idl-icon-loading .idl-ig-spark{top:-1px;width:6px;height:6px;margin-left:-3px;box-shadow:0 0 6px 1.5px rgba(255,255,255,.85);}
.idl .idl-loaded > .idl-thumb-spinner{display:none !important;}
.idl .idl-is-video .idl-icon-image{display:none !important;}
.idl .idl-is-image .idl-icon-play{display:none !important;}
.idl .idl-view-link{cursor:pointer !important;}
.idl .idl-is-video .idl-view-link{display:none !important;}
.idl .idl-mention,.idl a.idl-mention,
.idl .idl-comment-user,.idl .idl-comment-user a{
   background:linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%) !important;
   -webkit-background-clip:text !important;background-clip:text !important;
   -webkit-text-fill-color:transparent !important;color:transparent !important;
   text-decoration:none !important;cursor:pointer !important;font-weight:600 !important;
   border:0 !important;padding:0 !important;
}
.idl .idl-mention:hover,.idl a.idl-mention:hover,
.idl .idl-mention:focus,.idl a.idl-mention:focus,
.idl .idl-comment-user a:hover,.idl .idl-comment-user a:focus{
   filter:brightness(1.08) !important;text-decoration:none !important;outline:0 !important;
}
.idl .idl-user-link,.idl a.idl-user-link{
   color:#0095F6 !important;text-decoration:none !important;
   cursor:pointer !important;font-weight:500 !important;
   background:transparent !important;border:0 !important;padding:0 !important;
}
.idl .idl-user-link:hover,.idl a.idl-user-link:hover,
.idl .idl-user-link:focus,.idl a.idl-user-link:focus{
   text-decoration:underline !important;color:#0080D8 !important;outline:0 !important;
}
@media (max-width: 768px) {
   .inside-article{
      padding: 0 !important;
   }
}
.idl .idl-post-caption{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
