/* WordPress Tag Cloud Block - Safe Default Style
-------------------------------------------------------------- */
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]){box-sizing:border-box;margin-top:0;margin-bottom:1.5em;line-height:1.5;}
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]):last-child{margin-bottom:0;}
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]) a{display:inline-block;box-sizing:border-box;margin:0 0.35em 0.5em 0;padding:0.35em 0.75em;border:1px solid #e6e6e6;border-radius:3px;background:#f7f7f7;color:inherit;font-size:0.875em;line-height:1.4;text-decoration:none;vertical-align:middle;transition:background-color 0.2s ease-in-out,border-color 0.2s ease-in-out,color 0.2s ease-in-out;}
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]) a:hover,.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]) a:focus{border-color:#cccccc;background:#eeeeee;color:inherit;text-decoration:none;}
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]) a:focus{outline:1px dotted currentColor;outline-offset:2px;}
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]) .tag-link-count{margin-left:0.25em;color:#777777;font-size:0.9em;}
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]).aligncenter{text-align:center;}
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]).alignright{text-align:right;}
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]).alignleft{text-align:left;}
@media only screen and (max-width:600px){
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]){margin-bottom:1.25em;}
.wp-block-tag-cloud:not([class*="is-style-magshow-tag-cloud-"]) a{margin-right:0.25em;margin-bottom:0.45em;padding:0.3em 0.65em;font-size:0.85em;}
}

.wp-block-tag-cloud[class*="is-style-magshow-tag-cloud-"]{margin-bottom:1.5em;}

/* --- 1. Flat Pills --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-flat-pills a{display:inline-block;background-color:#f1f5f9;color:#334155!important;padding:6px 16px;border-radius:9999px;font-size:1em!important;line-height:1.5;text-decoration:none;transition:all 0.3s ease;margin:0 6px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-flat-pills a:hover{background-color:#3b82f6;color:#ffffff!important;transform:translateY(-2px);}

/* --- 2. Outlined --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-outlined a{display:inline-block;background-color:transparent;color:#475569!important;padding:6px 14px;border:1.5px solid #cbd5e1;border-radius:6px;font-size:1em!important;line-height:1.5;text-decoration:none;transition:all 0.3s ease;margin:0 6px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-outlined a:hover{border-color:#3b82f6;color:#3b82f6!important;background-color:#eff6ff;}

/* --- 3. Gradient Badges --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-gradient-badges a{display:inline-block;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#ffffff!important;padding:7px 18px;border-radius:8px;font-size:1em!important;line-height:1.5;text-decoration:none;box-shadow:0 3px 10px rgba(99,102,241,0.25);transition:all 0.3s ease;margin:0 6px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-gradient-badges a:hover{background:linear-gradient(135deg,#8b5cf6,#a855f7);box-shadow:0 6px 20px rgba(139,92,246,0.4);transform:translateY(-2px);}

/* --- 4. Dark Chips --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-dark-chips a{display:inline-block;background-color:#1e293b;color:#e2e8f0!important;padding:6px 16px;border-radius:6px;font-size:1em!important;line-height:1.5;text-decoration:none;transition:all 0.3s ease;margin:0 6px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-dark-chips a:hover{background-color:#3b82f6;color:#ffffff!important;box-shadow:0 4px 14px rgba(59,130,246,0.35);transform:translateY(-2px);}

/* --- 5. Glassmorphic --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-glassmorphic a{display:inline-block;background:rgba(255,255,255,0.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#1e293b!important;padding:7px 16px;border-radius:10px;border:1px solid rgba(255,255,255,0.3);font-size:1em!important;line-height:1.5;text-decoration:none;box-shadow:0 4px 16px rgba(0,0,0,0.06);transition:all 0.35s ease;margin:0 6px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-glassmorphic a:hover{background:rgba(255,255,255,0.4);border-color:rgba(255,255,255,0.5);box-shadow:0 8px 24px rgba(0,0,0,0.1);transform:translateY(-2px);}

/* --- 6. Elevated Cards --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-elevated-cards a{display:inline-block;background-color:#ffffff;color:#334155!important;padding:8px 18px;border-radius:8px;font-size:1em!important;line-height:1.5;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,0.06),0 1px 2px rgba(0,0,0,0.04);transition:all 0.35s cubic-bezier(0.25,0.8,0.25,1);margin:0 6px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-elevated-cards a:hover{color:#0f172a!important;box-shadow:0 12px 24px rgba(0,0,0,0.1),0 4px 8px rgba(0,0,0,0.06);transform:translateY(-4px);}

/* --- 7. Accent Left Border --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-accent-left a{display:inline-block;background-color:#f8fafc;color:#334155!important;padding:7px 14px 7px 16px;border-radius:0 6px 6px 0;border-left:3px solid #3b82f6;font-size:1em!important;line-height:1.5;text-decoration:none;transition:all 0.3s ease;margin:0 8px 8px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-accent-left a:hover{background-color:#eff6ff;border-left-color:#1d4ed8;color:#1d4ed8!important;transform:translateX(4px);}

/* --- 8. Pastel Rainbow --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-pastel-rainbow a{display:inline-block;padding:6px 16px;border-radius:8px;font-size:1em!important;line-height:1.5;text-decoration:none;border:1px solid transparent;transition:all 0.3s ease;margin:0 6px 8px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-pastel-rainbow a:nth-child(6n+1){background-color:#fdf2f8;color:#be185d!important;border-color:#fbcfe8;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-pastel-rainbow a:nth-child(6n+2){background-color:#eff6ff;color:#1d4ed8!important;border-color:#bfdbfe;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-pastel-rainbow a:nth-child(6n+3){background-color:#f0fdf4;color:#15803d!important;border-color:#bbf7d0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-pastel-rainbow a:nth-child(6n+4){background-color:#fefce8;color:#a16207!important;border-color:#fde68a;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-pastel-rainbow a:nth-child(6n+5){background-color:#faf5ff;color:#7e22ce!important;border-color:#e9d5ff;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-pastel-rainbow a:nth-child(6n+6){background-color:#fff7ed;color:#c2410c!important;border-color:#fed7aa;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-pastel-rainbow a:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 4px 12px rgba(0,0,0,0.08);}

/* --- 9. Minimal Hash --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-minimal-hash a{display:inline-block;background-color:transparent;color:#475569!important;padding:4px 8px 4px 0;border-radius:0;border:none;border-bottom:1px solid transparent;font-size:1em!important;line-height:1.6;text-decoration:none;transition:all 0.3s ease;margin:0 6px 6px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-minimal-hash a::before{content:"#";color:#94a3b8;font-weight:600;margin-right:3px;transition:color 0.3s ease;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-minimal-hash a:hover{color:#0f172a!important;border-bottom-color:#3b82f6;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-minimal-hash a:hover::before{color:#3b82f6;}

/* --- 10. Neumorphic --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-neumorphic a{display:inline-block;background-color:#e8edf2;color:#475569!important;padding:7px 18px;border-radius:10px;border:none;font-size:1em!important;line-height:1.5;text-decoration:none;box-shadow:4px 4px 10px rgba(163,177,198,0.5),-4px -4px 10px rgba(255,255,255,0.8);transition:all 0.3s ease;margin:0 6px 12px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-neumorphic a:hover{color:#3b82f6!important;box-shadow:inset 3px 3px 6px rgba(163,177,198,0.45),inset -3px -3px 6px rgba(255,255,255,0.7);}

/* --- 11. Soft Glow --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-soft-glow a{display:inline-block;position:relative;background-color:#ffffff;color:#334155!important;padding:7px 17px;border:1px solid #dbeafe;border-radius:9999px;font-size:1em!important;line-height:1.5;text-decoration:none;box-shadow:0 0 0 rgba(59,130,246,0);transition:color 0.3s ease,background-color 0.3s ease,border-color 0.3s ease,box-shadow 0.3s ease,transform 0.3s ease;margin:0 7px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-soft-glow a:hover{background-color:#eff6ff;color:#1d4ed8!important;border-color:#93c5fd;box-shadow:0 0 18px rgba(59,130,246,0.28);transform:translateY(-2px);}

/* --- 12. Underline Slide --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-underline-slide a{display:inline-block;position:relative;background-color:transparent;color:#334155!important;padding:5px 3px 7px;border:none;font-size:1em!important;line-height:1.6;text-decoration:none;transition:color 0.3s ease;margin:0 14px 8px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-underline-slide a::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;background-color:#3b82f6;transform:scaleX(0);transform-origin:right;transition:transform 0.3s ease;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-underline-slide a:hover{color:#1d4ed8!important;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-underline-slide a:hover::after{transform:scaleX(1);transform-origin:left;}

/* --- 13. Marker Dot --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-marker-dot a{display:inline-block;position:relative;background-color:#f8fafc;color:#334155!important;padding:7px 15px 7px 28px;border:1px solid #e2e8f0;border-radius:7px;font-size:1em!important;line-height:1.5;text-decoration:none;transition:background-color 0.3s ease,border-color 0.3s ease,color 0.3s ease,transform 0.3s ease;margin:0 7px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-marker-dot a::before{content:"";position:absolute;left:13px;top:50%;width:7px;height:7px;background-color:#3b82f6;border-radius:50%;transform:translateY(-50%) scale(1);transition:transform 0.3s ease,background-color 0.3s ease;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-marker-dot a:hover{background-color:#eff6ff;border-color:#bfdbfe;color:#1d4ed8!important;transform:translateY(-2px);}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-marker-dot a:hover::before{background-color:#1d4ed8;transform:translateY(-50%) scale(1.45);}

/* --- 14. Angled Tabs --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-angled-tabs a{display:inline-block;background-color:#0f172a;color:#ffffff!important;padding:7px 18px;border:none;border-radius:4px;font-size:1em!important;line-height:1.5;text-decoration:none;transform:skewX(-10deg);transition:background-color 0.3s ease,box-shadow 0.3s ease,transform 0.3s ease;margin:0 8px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-angled-tabs a:hover{background-color:#2563eb;box-shadow:0 8px 18px rgba(37,99,235,0.28);transform:skewX(-10deg) translateY(-2px);}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-angled-tabs .tag-link-count{display:inline-block;opacity:0.8;}

/* --- 15. Stacked Shadow --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-stacked-shadow a{display:inline-block;background-color:#ffffff;color:#334155!important;padding:8px 17px;border:1px solid #e2e8f0;border-radius:8px;font-size:1em!important;line-height:1.5;text-decoration:none;box-shadow:4px 4px 0 #cbd5e1;transition:box-shadow 0.25s ease,transform 0.25s ease,color 0.25s ease,border-color 0.25s ease;margin:0 10px 12px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-stacked-shadow a:hover{color:#1d4ed8!important;border-color:#93c5fd;box-shadow:2px 2px 0 #93c5fd;transform:translate(2px,2px);}

/* --- 16. Border Pop --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-border-pop a{display:inline-block;position:relative;background-color:#ffffff;color:#334155!important;padding:7px 16px;border:1px solid #e5e7eb;border-radius:8px;font-size:1em!important;line-height:1.5;text-decoration:none;transition:color 0.25s ease,background-color 0.25s ease,transform 0.25s ease;margin:0 7px 10px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-border-pop a::before{content:"";position:absolute;inset:-2px;border:2px solid #3b82f6;border-radius:10px;opacity:0;transform:scale(0.92);transition:opacity 0.25s ease,transform 0.25s ease;pointer-events:none;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-border-pop a:hover{background-color:#f8fafc;color:#1d4ed8!important;transform:translateY(-2px);}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-border-pop a:hover::before{opacity:1;transform:scale(1);}

/* --- 17. Split Tone --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-split-tone a{display:inline-block;position:relative;overflow:hidden;background-color:#f1f5f9;color:#334155!important;padding:7px 17px;border:1px solid #e2e8f0;border-radius:9999px;font-size:1em!important;line-height:1.5;text-decoration:none;transition:color 0.3s ease,border-color 0.3s ease,transform 0.3s ease;margin:0 7px 10px 0;z-index:1;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-split-tone a::before{content:"";position:absolute;left:0;top:0;width:50%;height:100%;background-color:#dbeafe;z-index:-1;transition:width 0.3s ease,background-color 0.3s ease;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-split-tone a:hover{color:#ffffff!important;border-color:#2563eb;transform:translateY(-2px);}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-split-tone a:hover::before{width:100%;background-color:#2563eb;}

/* --- 18. Floating Bubbles --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-floating-bubbles a{display:inline-block;background:radial-gradient(circle at 30% 30%,#ffffff,#dbeafe);color:#1e3a8a!important;padding:8px 18px;border:1px solid #bfdbfe;border-radius:9999px;font-size:1em!important;line-height:1.5;text-decoration:none;box-shadow:0 6px 16px rgba(59,130,246,0.16);transition:box-shadow 0.35s ease,transform 0.35s ease,background 0.35s ease;margin:0 7px 12px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-floating-bubbles a:nth-child(2n){border-radius:14px 9999px 9999px 9999px;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-floating-bubbles a:nth-child(3n){border-radius:9999px 14px 9999px 9999px;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-floating-bubbles a:hover{background:radial-gradient(circle at 30% 30%,#ffffff,#bfdbfe);box-shadow:0 12px 26px rgba(59,130,246,0.26);transform:translateY(-4px);}

/* --- 19. Mono Labels --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-mono-labels a{display:inline-block;background-color:#111827;color:#f9fafb!important;padding:6px 13px;border:1px solid #374151;border-radius:3px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:0.92em!important;line-height:1.6;text-decoration:none;letter-spacing:0.02em;transition:background-color 0.25s ease,border-color 0.25s ease,color 0.25s ease,transform 0.25s ease;margin:0 6px 9px 0;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-mono-labels a::before{content:"tag:";color:#93c5fd;margin-right:4px;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-mono-labels a:hover{background-color:#1e40af;border-color:#60a5fa;color:#ffffff!important;transform:translateY(-2px);}

/* --- 20. Swipe Fill --- */
.wp-block-tag-cloud.is-style-magshow-tag-cloud-swipe-fill a{display:inline-block;position:relative;overflow:hidden;background-color:#ffffff;color:#334155!important;padding:7px 17px;border:1px solid #cbd5e1;border-radius:7px;font-size:1em!important;line-height:1.5;text-decoration:none;transition:color 0.3s ease,border-color 0.3s ease,transform 0.3s ease;margin:0 7px 10px 0;z-index:1;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-swipe-fill a::before{content:"";position:absolute;left:-100%;top:0;width:100%;height:100%;background-color:#3b82f6;transition:left 0.3s ease;z-index:-1;}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-swipe-fill a:hover{color:#ffffff!important;border-color:#3b82f6;transform:translateY(-2px);}
.wp-block-tag-cloud.is-style-magshow-tag-cloud-swipe-fill a:hover::before{left:0;}

@media (prefers-reduced-motion:reduce){
.wp-block-tag-cloud[class*="is-style-magshow-tag-cloud-"] a,.wp-block-tag-cloud[class*="is-style-magshow-tag-cloud-"] a::before,.wp-block-tag-cloud[class*="is-style-magshow-tag-cloud-"] a::after{transition:none !important;animation:none !important;}
}