/*
Theme Name: Cydia Reborn Dark Blog
Theme URI: https://cydiahack.com/
Description: A next-generation premium dark theme designed specifically for Cydia Reborn blog updates. Fixes overflow break mechanics.
Version: 1.0.1
Author: Cydia Reborn Team
License: GNU General Public License v2 or later
Text Domain: cydia-reborn-blog
*/

:root {
    --bg-main: #0b0b0f;
    --bg-card: rgba(22, 22, 28, 0.7);
    --border-glow: rgba(162, 91, 51, 0.15);
    --cydia-brown: #a25b33;
    --cydia-gradient: linear-gradient(135deg, #ff8c42 0%, #a25b33 50%, #612f13 100%);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
}

/* CRITICAL FIX: Explicit viewport boundaries configured 
   to stop iOS Safari from breaking layout grids horizontally.
*/
html, body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important; /* Forces layout tracking inside standard dimensions */
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Force standard system boundaries onto images, code fields, and tables */
img, pre, code, table, video, iframe, blockquote {
    max-width: 100% !important;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-x: auto; /* Adds localized swipe mechanics to oversized elements instead of pushing the frame */
}

.bg-glow-top {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(162, 91, 51, 0.12) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}