<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* FILENAME: style.css 
*/

/* --- BREAKOUT STRATEGY & VARIABLES --- */
#gem-custom-post-wrapper {
    --bg-color: #2d3436;       /* Dark Charcoal */
    --main-color: #0db7ed;     /* Tech Blue */
    --accent-color: #2ecc71;   /* Success Green */
    --text-color: #dfe6e9;     /* Light Gray */
    --code-bg: #1e272e;        /* Darker Code BG */
    
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- CONTAINER & TYPOGRAPHY --- */
#gem-custom-post-wrapper .gem-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

#gem-custom-post-wrapper h1, 
#gem-custom-post-wrapper h2, 
#gem-custom-post-wrapper h3 {
    color: var(--main-color);
    margin-top: 1.5em;
    font-weight: 700;
}

#gem-custom-post-wrapper h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#gem-custom-post-wrapper .gem-subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 2rem;
}

#gem-custom-post-wrapper p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

#gem-custom-post-wrapper strong {
    color: #fff;
}

/* --- IMAGES & PLACEHOLDERS --- */
#gem-custom-post-wrapper .gem-placeholder-img {
    display: block;
    width: 100%;
    max-width: 800px; /* Limit image width */
    min-height: 250px;
    margin: 20px auto;
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 4px;
    object-fit: contain;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Fallback for empty src to show ALT text nicely */
#gem-custom-post-wrapper .gem-placeholder-img:before {
    content: "Image: " attr(alt);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    color: #666;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

/* --- TECHNICAL ELEMENTS --- */
#gem-custom-post-wrapper .gem-code-block {
    display: block;
    background-color: var(--code-bg);
    color: var(--accent-color);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--accent-color);
    font-family: 'JetBrains Mono', monospace;
    margin: 10px 0 20px;
    overflow-x: auto;
    font-size: 0.95rem;
}

#gem-custom-post-wrapper .gem-alert {
    background: rgba(255, 159, 67, 0.1); /* Orange tint */
    border: 1px solid #ff9f43;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    color: #ff9f43;
}

#gem-custom-post-wrapper .gem-alert i {
    margin-right: 10px;
}

#gem-custom-post-wrapper .gem-comparison {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

#gem-custom-post-wrapper .gem-comparison > div {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

#gem-custom-post-wrapper .gem-comparison span {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--main-color);
}

/* --- LANGUAGE TOGGLE BUTTON (FIXED & CIRCULAR) --- */
#gem-lang-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99999;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}

#gem-lang-toggle:hover {
    transform: scale(1.15) rotate(5deg);
}

#gem-lang-toggle img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    display: block;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    #gem-custom-post-wrapper h1 { font-size: 1.8rem; }
    #gem-custom-post-wrapper .gem-placeholder-img { min-height: 150px; }
    #gem-lang-toggle { bottom: 20px; left: 20px; }
    #gem-lang-toggle img { width: 48px; height: 48px; }
}</style>
<!-- end Simple Custom CSS and JS -->
