/**
 * ============================================================
 * SOBER-THOUGHTZ.COM — MASTER STYLESHEET
 * ============================================================
 * Combined & fixed master of all site styles.
 *
 * SECTION A — GLOBALS & HOME PAGE
 *   1.  CSS Reset & Base
 *   2.  Fonts & Animations
 *   3.  Global Links
 *   4.  Logo & Branding
 *   5.  Top Navigation Bar
 *   6.  Slide-Out Sidebar
 *   7.  Home Page Split Layout
 *   8.  Form System (Register / Login)
 *   9.  Info Side
 *  10.  Footer
 *  11.  Static Page Template (Cyber-Glass)
 *
 * SECTION B — BLOG PAGES
 *  12.  Blog Category Page Title
 *  13.  Blog Layout Wrapper
 *  14.  Featured Hero Card
 *  15.  Tags Module
 *  16.  Primary Content Grid
 *  17.  Right Sidebar (Category / Search)
 *  18.  Read Sidebar (Author Profile)
 *  19.  Single Post Read Body
 *  20.  Comments Section
 *  21.  Report Modal & Overlay
 *
 * SECTION C — ALL MEDIA QUERIES (single source of truth)
 *  22.  480px  — Tiny phones
 *  23.  768px  — Tablets & large phones
 *  24. 1024px  — Desktop threshold
 * ============================================================
 */

/* ============================================================
   1. CSS RESET & BASE
   ============================================================ */

HTML {
    background: #242424;
    height: 100%;
    scroll-behavior: smooth;
}

BODY {
    margin: 0;
    padding: 0;
    background: #242424;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Lock body scroll when sidebar is open */
BODY.SIDEBAR_OPEN {
    overflow: hidden;
    height: 100vh;
}

/* Apply HeadingFont to all headings */
H1, H2, H3, H4, H5, H6 {
    font-family: 'HeadingFont', Arial, sans-serif;
}


/* ============================================================
   2. FONTS & ANIMATIONS
   ============================================================ */

@font-face {
    font-family: 'LogoFont';
    src: url('/0_INCLUDES/0_FONTS/LOGOFONT.woff2') format('woff2'),
         url('/0_INCLUDES/0_FONTS/LOGOFONT.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HeadingFont';
    src: url('/0_INCLUDES/0_FONTS/HEADING_FONT.woff2') format('woff2'),
         url('/0_INCLUDES/0_FONTS/HEADING_FONT.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Shimmer — used on the site logo */
@keyframes shimmer {
    to { background-position: 100%; }
}

/* Pulse — used on tagline glow */
@keyframes pulseEffect {
    0%, 100% {
        text-shadow: 0 0 5px rgba(148, 255, 252, .4);
        opacity: .8;
    }
    50% {
        text-shadow: 0 0 15px rgba(148, 255, 252, 1), 0 0 20px rgba(148, 255, 252, .6);
        opacity: 1;
    }
}

/* Desktop entrance — lifts the split container up */
@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile entrance — simple fade up, no lift */
@keyframes heroEntranceMobile {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Global page entrance utility */
.PAGE_ENTRANCE {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.PAGE_ENTRANCE_ACTIVE {
    opacity: 1;
    transform: translateY(0);
}

/* Error message pop-in */
@keyframes popIn {
    0%   { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Success screen pop */
@keyframes successPop {
    from { opacity: 0; transform: scale(.9); }
    to   { opacity: 1; transform: scale(1); }
}


/* ============================================================
   3. GLOBAL LINKS
   ============================================================ */

A,
A:active,
A:hover,
A:visited {
    color: #94fffc;
    text-decoration: underline;
    font-weight: 700;
    transition: .3s;
}


/* ============================================================
   4. LOGO & BRANDING
   ============================================================ */

.LOGO_HEADER_SECTION {
    /* background removed - inherits from parent (profile background wrapper) */
    color: #ccc;
    padding: .8rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 50;
}

HEADER {
    background: #242424;
    color: #ccc;
    padding: .8rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}

.LOGO_WRAPPER {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

DIV.LOGO {
    display: block;
    line-height: 1.2;
    margin: 0;
    padding: 2px;
    background: linear-gradient(90deg, #FFFFFF, #94FFFC, #94FFFC, #CCCCCC, #94FFFC, #FFFFFF) -100%/200%;
    -webkit-background-clip: text;
    background-clip: text;
    font-family: 'LogoFont';
    font-size: clamp(2.5em, 5vh, 40px);
    text-align: center;
    letter-spacing: 6px;
    color: transparent;
    animation: shimmer 6s linear infinite;
}

.TAGLINE {
    text-shadow: 0 0 8px #94fffc, 0 0 12px #94fffc;
    margin-top: 5px;
    font-size: 1rem;
    white-space: nowrap;
}

.TAGLINE SPAN {
    display: inline;
    padding-top: 0;
    padding-left: 5px;
}


/* ============================================================
   5. TOP NAVIGATION BAR
   ============================================================ */

NAV.TOP_NAVIGATION {
    font-size: 20px;
    background: #000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    margin-bottom: 0;
    scrollbar-width: none;
    position: relative;
    z-index: 200;
}

NAV.TOP_NAVIGATION A,
NAV.TOP_NAVIGATION A:VISITED {
    color: #ccc;
    padding: .5rem 1.5rem;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
    flex-shrink: 0;
}

NAV.TOP_NAVIGATION A:HOVER {
    color: #94fffc;
    text-decoration: underline;
    font-weight: 700;
    box-shadow: none;
    text-shadow: none;
}

/* Back / Exit nav arrows (blog sub-pages) */
.NAV_BACK {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    color: #94fffc;
}

.NAV_BACK::before {
    content: '';
    width: 8px;
    height: 8px;
    border-left: 2px solid #94fffc;
    border-bottom: 2px solid #94fffc;
    transform: rotate(45deg);
    transition: transform 0.3s ease, margin 0.3s ease;
}

.NAV_BACK::after {
    content: '';
    position: absolute;
    left: -2px;
    width: 15px;
    height: 2px;
    background: #94fffc;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    box-shadow: 0 0 8px #94fffc;
}

.NAV_BACK:hover::before { margin-right: 5px; }
.NAV_BACK:hover::after  { transform: scaleX(1); }

.EXIT_LINK {
    border-right: 1px solid #333;
    padding-right: 25px;
    margin-right: 10px;
}

/* Sticky hamburger icon */
.HAMBURGER_CONTAINER {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    margin: 0 1.5rem;
    flex-shrink: 0;
    position: sticky;
    left: 0;
    background: #000;
    z-index: 10;
}

.HAMBURGER_BAR {
    width: 100%;
    height: 3px;
    background-color: #94fffc;
    border-radius: 10px;
    transition: .3s;
    box-shadow: 0 0 8px #94fffc;
}

.HAMBURGER_CONTAINER:HOVER .HAMBURGER_BAR {
    box-shadow: 0 0 15px #94fffc, 0 0 20px #94fffc;
    background-color: #fff;
}

/* Shared glow divider — single declaration */
HR.GLOW_DIVIDER {
    border: 0;
    height: 1px;
    background: #94fffc;
    box-shadow: 0 0 8px #94fffc;
    margin: 0;
    width: 100%;
}


/* ============================================================
   6. SLIDE-OUT SIDEBAR
   ============================================================ */

.SIDEBAR {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background: #242424;
    overflow-x: hidden;
    overflow-y: auto; /* Enable vertical scrolling */
    transition: .5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 100px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 40px; /* Add bottom padding for scroll space */
}

/* Add 8px padding to all direct children for internal spacing */
.SIDEBAR > * {
    padding-left: 8px;
    padding-right: 8px;
}

.SIDEBAR .CLOSE_BUTTON {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #94fffc;
    text-decoration: none;
    border: 2px solid #94fffc;
    border-radius: 8px;
    padding: 4px 12px;
    line-height: 1.2;
    box-shadow: 0 0 10px #94fffc;
    text-shadow: 0 0 5px #94fffc;
    transition: .3s;
}

.SIDEBAR .CLOSE_BUTTON:hover {
    background: #94fffc;
    color: #000;
    box-shadow: 0 0 20px #94fffc;
}

/* Sidebar login form */
.SIDEBAR_LOGIN_FORM {
    width: 80%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
}

.SIDEBAR_LOGIN_INPUT input {
    width: 100%;
    padding: 12px;
    text-align: center;
    background: #1a1a1a;
    color: #94fffc;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 18px;
    margin-bottom: 15px;
    transition: .3s;
    box-sizing: border-box;
}

.SIDEBAR_LOGIN_INPUT input:focus {
    outline: 0;
    border-color: #94fffc;
    box-shadow: 0 0 10px #94fffc;
}

.SIDEBAR_LOGIN_BUTTON {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all .3s ease;
}

.SIDEBAR_LOGIN_BUTTON:hover {
    border-color: #94fffc;
    color: #94fffc;
    background-color: #000;
    box-shadow: 0 0 15px #94fffc;
    transform: translateY(-2px);
}

/* Sidebar login heading */
.SIDEBAR_LOGIN_HEADING {
    color: #94FFFC;
    font-size: 1.8rem;
    text-align: center;
    margin: 0 0 30px 0;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(148, 255, 252, 0.5);
    text-transform: uppercase;
}

/* Sidebar login container */
.SIDEBAR_LOGIN {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}



/* ============================================================
   7. HOME PAGE — SPLIT LAYOUT
   ============================================================ */

MAIN.SPLIT_CONTAINER {
    display: flex;
    flex-direction: row;
    width: 95%;
    max-width: 1200px;
    margin: 30px auto;
    min-height: 550px;
    border-radius: 12px;
    overflow: hidden;
    background: #242424;
    animation: heroEntranceMobile 0.8s ease-out forwards;
}

.HALF_CONTAINER {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
}

.HALF_CONTAINER.FORM_SIDE {
    background: #242424;
}

.HALF_CONTAINER.INFO_SIDE {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}

/* Shelf titles — the colored bars at the top of each half */
.SHELF_TITLE {
    width: 100%;
    background: #000;
    color: #94fffc;
    margin: 0;
    padding: 20px 0;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 4px;
    border-bottom: 2px solid #94fffc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.FORM_SIDE .SHELF_TITLE {
    background: #1a1a1a;
}

.INFO_SIDE .SHELF_TITLE {
    background: #242424;
}


/* ============================================================
   8. FORM SYSTEM — Register / Login
   ============================================================ */

.FORM_WRAPPER {
    width: 100%;
    text-align: center;
}

/* SELECT — matches .FORM_WRAPPER input exactly */
.FORM_WRAPPER SELECT {
    width: 80%;
    display: block;
    margin: 0 auto 5px auto;
    padding: 15px;
    background: #1a1a1a;
    color: #94fffc;
    font-size: 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: .3s;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    /* a subtle down-arrow using a data-URI chevron */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394fffc' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.FORM_WRAPPER SELECT:focus {
    outline: 0;
    border-color: #94fffc;
    box-shadow: 0 0 10px #94fffc;
}

/* Disabled / placeholder option — dimmed so it reads as a prompt */
.FORM_WRAPPER SELECT OPTION[VALUE=''] {
    color: #666;
}

/* TEXTAREA — matches .FORM_WRAPPER input exactly, plus resize control */
.FORM_WRAPPER TEXTAREA {
    width: 80%;
    display: block;
    margin: 0 auto 5px auto;
    padding: 15px;
    background: #1a1a1a;
    color: #94fffc;
    font-size: 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: .3s;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.FORM_WRAPPER TEXTAREA:focus {
    outline: 0;
    border-color: #94fffc;
    box-shadow: 0 0 10px #94fffc;
}

.FORM_WRAPPER TEXTAREA::placeholder {
    color: #555;
}

/* INPUT_ERROR already covers border + shadow via !important,
   but SELECT and TEXTAREA need the color rule too */
SELECT.INPUT_ERROR,
TEXTAREA.INPUT_ERROR {
    border-color: #ff4b4b !important;
    box-shadow: 0 0 12px #ff4b4b !important;
    color: #ff4b4b !important;
}

.FORM_WRAPPER input {
    width: 80%;
    display: block;
    margin: 0 auto 5px auto;
    padding: 15px;
    background: #1a1a1a;
    color: #94fffc;
    font-size: 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: .3s;
    box-sizing: border-box;
}

.FORM_WRAPPER input:focus {
    outline: 0;
    border-color: #94fffc;
    box-shadow: 0 0 10px #94fffc;
}

/* Password field wrapper + eye toggle */
.PASS_WRAPPER {
    position: relative;
    width: 80%;
    margin: 0 auto 5px auto;
}

.PASS_WRAPPER input {
    width: 100%;
    margin: 0;
    padding-right: 50px;
    box-sizing: border-box;
}

.EYE_TOGGLE {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    z-index: 5;
}

/* Input error state */
.INPUT_ERROR {
    border-color: #ff4b4b !important;
    box-shadow: 0 0 12px #ff4b4b !important;
    color: #ff4b4b !important;
}

/* Animated error/success messages */
.ERROR_MESSAGE {
    font-weight: 500;
    font-style: italic;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .5px;
    display: block;
    margin: 12px auto 18px auto;
    text-align: center;
    width: 80%;
    position: relative;
    z-index: 10;
    text-shadow: 0 0 5px rgba(148, 255, 252, .3);
    animation: popIn .3s ease-out forwards;
}

/* Form fade-out (on successful submit) */
.FORM_FADE_OUT {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity .6s ease, transform .6s ease;
    pointer-events: none;
}

/* Success screen */
#SUCCESS_CONTENT {
    display: none;
    opacity: 0;
    text-align: center;
}

.FADE_IN_SUCCESS {
    display: block;
    animation: successPop .6s forwards;
    animation-delay: .3s;
}

/* Hidden utility */
.FIELD_HIDDEN {
    display: none;
}

/* Math captcha */
.MATH_WRAPPER {
    width: 80%;
    margin: 0 auto 20px auto;
}

.MATH_LABEL {
    display: block;
    color: #ccc;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

/* Terms checkbox */
.TERMS_WRAPPER {
    margin: 20px auto;
    width: 80%;
    display: flex;
    justify-content: center;
}

.CHECKBOX_LABEL {
    display: flex;
    align-items: center;
    color: #ccc;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.CHECKBOX_LABEL input {
    display: none;
}

.CHECKBOX_CUSTOM {
    height: 20px;
    width: 20px;
    background: #1a1a1a;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 12px;
    transition: .3s;
    position: relative;
    flex-shrink: 0;
}

.CHECKBOX_LABEL:hover .CHECKBOX_CUSTOM {
    border-color: #94fffc;
    box-shadow: 0 0 8px #94fffc;
}

.CHECKBOX_LABEL input:checked + .CHECKBOX_CUSTOM {
    background: #94fffc;
    border-color: #94fffc;
    box-shadow: 0 0 12px #94fffc;
}

.CHECKBOX_LABEL input:checked + .CHECKBOX_CUSTOM::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Checkbox error states */
.CHECKBOX_ERROR_BORDER {
    border-color: #FF4B4B !important;
    box-shadow: 0 0 12px #FF4B4B !important;
}

.CHECKBOX_ERROR_TEXT {
    color: #FF4B4B !important;
    text-shadow: 0 0 5px rgba(255, 75, 75, 0.3);
}

/* Primary buttons */
.FORM_WRAPPER button,
.REGISTER_TOGGLE_BUTTON {
    width: 80%;
    display: block;
    margin: 0 auto 10px auto;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all .3s ease;
}

.FORM_WRAPPER button:hover,
.REGISTER_TOGGLE_BUTTON:hover {
    border-color: #94fffc;
    color: #94fffc;
    background-color: #000;
    box-shadow: 0 0 15px #94fffc;
    transform: translateY(-2px);
}

/* Login form — hidden by default, shown via JS toggle */
#LOGIN_FORM {
    display: none;
}


/* ============================================================
   9. INFO SIDE — HOME_PAGE_INFORMATION
   ============================================================ */

.INFO_WRAPPER P {
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 0 15px;
}

.PAGE_HEADING {
    padding-top: 20px;
    color: #94fffc;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* Data module cards (community insights) */
.DATA_MODULE {
    background: #1a1a1a;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: .3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.DATA_MODULE:hover {
    border-color: #94fffc;
    box-shadow: 0 0 15px rgba(148, 255, 252, .2);
    transform: translateY(-5px);
}

.MODULE_TITLE {
    font-size: 1.4rem;
    margin: 10px 0;
}

.MODULE_TITLE a {
    text-decoration: none;
}

.META_DATA {
    font-size: 11px;
    letter-spacing: 1px;
    color: #888;
}


/* ============================================================
   10. FOOTER
   ============================================================ */

FOOTER {
    /* background removed - inherits from parent (profile background wrapper) */
    color: #ccc;
    text-align: center;
    padding: 12px;
    margin-top: auto;
    font-size: 14px;
}


/* ============================================================
   11. STATIC PAGE TEMPLATE (Cyber-Glass)
   ============================================================ */

.STATIC_PAGE_CONTAINER {
    display: block;
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.STATIC_PAGE_CONTAINER .STATIC_SHELF_HEADER {
    width: 100%;
    box-sizing: border-box;
    display: block;
    background: #000;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(148, 255, 252, 0.6);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    outline: 1px solid rgba(148, 255, 252, 0.2);
    outline-offset: 6px;
    position: relative;
}

/* Top-left corner notch */
.STATIC_PAGE_CONTAINER .STATIC_SHELF_HEADER::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 20px;
    height: 20px;
    background: rgba(148, 255, 252, 0.4);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Top-right corner notch */
.STATIC_PAGE_CONTAINER .STATIC_SHELF_HEADER::after {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 20px;
    height: 20px;
    background: rgba(148, 255, 252, 0.4);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.STATIC_PAGE_CONTAINER .STATIC_MAIN_TITLE {
    color: #94fffc;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    margin: 0 auto;
    letter-spacing: 5px;
    text-shadow: 0 0 6px rgba(148, 255, 252, 0.4);
    display: block;
}

.STATIC_PAGE_CONTAINER .STATIC_SUB_HEADING {
    display: block;
    color: #94fffc;
    opacity: 0.5;
    margin: 12px auto 0 auto;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-align: center;
}

.STATIC_PAGE_CONTAINER .STATIC_CONTENT_WRAP {
    width: 100%;
    box-sizing: border-box;
    background: #161616;
    padding: 50px;
    border: 1px solid rgba(148, 255, 252, 0.6);
    border-top: none;
    border-radius: 0 0 12px 12px;
    outline: 1px solid rgba(148, 255, 252, 0.2);
    outline-offset: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    display: block;
}

/* Bottom-left corner notch */
.STATIC_PAGE_CONTAINER .STATIC_CONTENT_WRAP::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 20px;
    height: 20px;
    background: rgba(148, 255, 252, 0.4);
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

/* Bottom-right corner notch */
.STATIC_PAGE_CONTAINER .STATIC_CONTENT_WRAP::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 20px;
    height: 20px;
    background: rgba(148, 255, 252, 0.4);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 5;
}

.STATIC_PAGE_CONTAINER .STATIC_CONTENT_AREA {
    color: #ccc;
    font-size: 1.15rem;
    line-height: 2;
}

.STATIC_PAGE_CONTAINER .STATIC_CONTENT_AREA P {
    margin-bottom: 25px;
}


/* ============================================================
   12. CONSOLIDATED MEDIA QUERIES
   ============================================================
   Breakpoint strategy (single source of truth):
     - 480px  : tiny phones (logo shrink only)
     - 768px  : tablets & large phones
     - 1024px : desktop threshold
   ============================================================ */
/* ============================================================
   1. BLOG CATEGORY PAGE TITLE
   ============================================================ */

.BLOG_CATEGORY_PAGE_TITLE {
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 20px 0 5px 25px;
    color: #FFF;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(148, 255, 252, 0.4);
}


/* ============================================================
   2. BLOG LAYOUT WRAPPER
   ============================================================ */

.BLOG_LAYOUT_WRAPPER {
    display: flex;
    flex-direction: row;
    width: 95%;
    max-width: 1450px;
    margin: 40px auto;
    align-items: flex-start;
}

.BLOG_LAYOUT_WRAPPER .BLOG_CONTENT_LEFT {
    flex: 3;
}


/* ============================================================
   3. FEATURED HERO CARD
   ============================================================ */

.BLOG_LAYOUT_WRAPPER .FEATURED_POST_CARD {
    background: #2C3539;
    padding: 45px;
    margin-bottom: 40px;
    border: 1px solid rgba(148, 255, 252, 0.4);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 10px 40px rgba(0, 0, 0, 0.8);
    clip-path: polygon(
        25px 0%,
        calc(100% - 25px) 0%,
        100% 25px,
        100% calc(100% - 25px),
        calc(100% - 25px) 100%,
        25px 100%,
        0% calc(100% - 25px),
        0% 25px
    );
}

/* Hero header: avatar + text side-by-side */
.BLOG_LAYOUT_WRAPPER .FEATURED_HERO_HEADER {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 35px;
    margin-bottom: 25px;
}

/* Large featured avatar with neon bloom */
.BLOG_LAYOUT_WRAPPER .AVATAR_FEATURED {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #94FFFC;
    box-shadow: 0 0 15px rgba(148, 255, 252, 0.6), 0 0 30px rgba(148, 255, 252, 0.2);
    object-fit: cover;
    flex-shrink: 0;
    transition: .3s;
}

.BLOG_LAYOUT_WRAPPER .AVATAR_FEATURED:HOVER {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(148, 255, 252, 0.8), 0 0 45px rgba(148, 255, 252, 0.4);
}

/* Massive featured title */
.BLOG_LAYOUT_WRAPPER .POST_TITLE_LARGE {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 10px 0;
    color: #94FFFC;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(148, 255, 252, 0.4);
}

.BLOG_LAYOUT_WRAPPER .POST_TITLE_LARGE A {
    text-decoration: none;
    color: inherit;
    transition: .3s;
}

/* Author / date meta line */
.HERO_POST_AUTHOR {
    display: block;
    font-size: clamp(0.8rem, 0.5vw + 0.6rem, 1rem);
    line-height: 1.4;
    color: #94FFFC;
    margin-top: 8px;
}

/* Featured excerpt text */
.BLOG_LAYOUT_WRAPPER .POST_CONTENT_AREA P {
    color: #CCC;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 85%;
    letter-spacing: 0.5px;
}

/* "Read this entry" button */
.BLOG_LAYOUT_WRAPPER .KEEP_READING_BTN {
    display: inline-block;
    margin: 15px 0;
    color: #94FFFC;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid #94FFFC;
    padding: 5px;
}

.BLOG_LAYOUT_WRAPPER .KEEP_READING_BTN:HOVER {
    text-shadow: 0 0 10px #94FFFC, 0 0 20px rgba(148, 255, 252, 0.5);
    letter-spacing: 4px;
}


/* ============================================================
   4. TAGS MODULE
   ============================================================ */

.TAGS_MODULE {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: auto;
    margin: 20px 10px 10px 10px;
    padding: 15px;
    background: #2F4F4F;
    border: 2px solid rgba(148, 255, 252, 0.5);
    border-radius: 10px;
    color: #94FFFC;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
}

.TAG_LABEL {
    margin-right: 4px;
}

.TAG {
    display: inline-block;
    background: rgba(148, 255, 252, 0.08);
    border: 1px solid rgba(148, 255, 252, 0.3);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.85rem;
    color: #94FFFC;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.TAG:hover {
    background: rgba(148, 255, 252, 0.15);
    border-color: #94FFFC;
    box-shadow: 0 0 6px rgba(148, 255, 252, 0.3);
}


/* ============================================================
   5. PRIMARY CONTENT GRID (2-col cards)
   ============================================================ */

.BLOG_LAYOUT_WRAPPER .PRIMARY_CONTENT_GRID {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Individual grid card */
.BLOG_LAYOUT_WRAPPER .GRID_POST_CARD {
    background: #2C3539;
    padding: 30px;
    border: 1px solid rgba(148, 255, 252, 0.15);
    clip-path: polygon(
        15px 0%,
        100% 0%,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0% 100%,
        0% 15px
    );
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.BLOG_LAYOUT_WRAPPER .GRID_POST_CARD:HOVER {
    border-color: rgba(148, 255, 252, 0.6);
    transform: translateY(-8px);
    background: #2F4F4F;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

/* Grid card header: small avatar + text */
.BLOG_LAYOUT_WRAPPER .GRID_CARD_HEADER {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.BLOG_LAYOUT_WRAPPER .AVATAR_GRID {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #94FFFC;
    box-shadow: 0 0 15px rgba(148, 255, 252, 0.6), 0 0 30px rgba(148, 255, 252, 0.2);
    transition: .3s;
    flex-shrink: 0;
}

/* Grid card title */
.BLOG_LAYOUT_WRAPPER .GRID_TITLE {
    margin: 0 0 4px 0;
}

.BLOG_LAYOUT_WRAPPER .GRID_TITLE A {
    text-decoration: none;
    color: #94FFFC;
    transition: .3s;
}

.BLOG_LAYOUT_WRAPPER .GRID_TITLE A:HOVER {
    text-shadow: 0 0 8px rgba(148, 255, 252, 0.5);
}

/* Grid meta (author / date) */
.BLOG_LAYOUT_WRAPPER .GRID_META {
    font-size: clamp(0.75rem, 1.5vw + 0.5rem, 0.85rem);
    letter-spacing: 1.5px;
    line-height: 1.4;
    color: #888;
    display: block;
}

/* Grid excerpt text */
.BLOG_LAYOUT_WRAPPER .GRID_EXCERPT {
    color: #CCC;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 85%;
    letter-spacing: 0.5px;
}


/* ============================================================
   6. RIGHT SIDEBAR — Category / Search
   ============================================================ */

.BLOG_LAYOUT_WRAPPER .BLOG_SIDEBAR_RIGHT {
    flex: 1;
    background: #2C3539;
    border: 1px solid rgba(148, 255, 252, 0.3);
    padding: 40px 30px;
    position: sticky;
    top: 40px;
    clip-path: polygon(
        15px 0%,
        100% 0%,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0% 100%,
        0% 15px
    );
    margin-left: 30px;
}

.BLOG_LAYOUT_WRAPPER .SIDEBAR_CATEGORY_TITLE {
    color: #94FFFC;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    letter-spacing: 2px;
    margin: 25px 0 5px 0;
    text-shadow: 0 0 8px rgba(148, 255, 252, 0.4);
    font-weight: 700;
    text-align: center;
}

.BLOG_LAYOUT_WRAPPER .SIDEBAR_HEADING_UNDERLINE {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #94FFFC, transparent);
    box-shadow: 0 0 10px #94FFFC;
    margin-bottom: 20px;
}

.BLOG_SIDEBAR_RIGHT P {
    color: #AAA;
    font-size: clamp(1rem, 0.4vw + 0.9rem, 1rem);
    line-height: 1.6;
    margin: 15px 0 25px 0;
    padding: 0 5px;
    text-align: justify;
    letter-spacing: 0.5px;
}

/* Search box */
.BLOG_LAYOUT_WRAPPER .SIDEBAR_SEARCH_PLATE {
    margin-top: 10px;
}

.BLOG_LAYOUT_WRAPPER .SEARCH_BOX_WRAP {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.BLOG_LAYOUT_WRAPPER .SIDEBAR_SEARCH {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #94FFFC;
    padding: 12px;
    font-size: 14px;
    transition: .3s;
    box-sizing: border-box;
}

.BLOG_LAYOUT_WRAPPER .SIDEBAR_SEARCH:FOCUS {
    outline: none;
    border-color: #94FFFC;
    box-shadow: 0 0 8px rgba(148, 255, 252, 0.3);
}

.BLOG_LAYOUT_WRAPPER .SEARCH_GLOW_BTN {
    background: transparent;
    color: #94FFFC;
    border: 1px solid #94FFFC;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 700;
    transition: .3s;
    flex-shrink: 0;
}

.BLOG_LAYOUT_WRAPPER .SEARCH_GLOW_BTN:HOVER {
    background: #94FFFC;
    color: #000;
    box-shadow: 0 0 12px rgba(148, 255, 252, 0.4);
}

/* Sidebar link list */
.BLOG_LAYOUT_WRAPPER .SIDEBAR_LINKS {
    list-style: none;
    padding: 0;
    margin: 0;
}

.BLOG_LAYOUT_WRAPPER .SIDEBAR_LINKS LI {
    margin-bottom: 12px;
}

.BLOG_LAYOUT_WRAPPER .SIDEBAR_LINKS A {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: .3s;
    display: block;
}

.BLOG_LAYOUT_WRAPPER .SIDEBAR_LINKS A:HOVER {
    color: #94FFFC;
    padding-left: 5px;
    text-shadow: 0 0 8px #94FFFC;
}


/* ============================================================
   7. READ SIDEBAR — Author Profile
   ============================================================ */

.BLOG_LAYOUT_WRAPPER .READ_SIDEBAR_AUTHOR {
    flex: 1;
    background: #2C3539;
    border: 1px solid rgba(148, 255, 252, 0.3);
    padding: 35px 25px;
    position: sticky;
    top: 40px;
    clip-path: polygon(
        15px 0%,
        100% 0%,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0% 100%,
        0% 15px
    );
    margin-left: 30px;
}

.BLOG_LAYOUT_WRAPPER .AUTHOR_PROFILE_AVATAR {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #94FFFC;
    box-shadow: 0 0 15px rgba(148, 255, 252, 0.4);
    margin: 0 auto 20px auto;
    display: block;
    object-fit: cover;
}

.BLOG_LAYOUT_WRAPPER .AUTHOR_NAME_HEADING {
    color: #94FFFC;
    font-size: 1.4rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(148, 255, 252, 0.5);
}

.BLOG_LAYOUT_WRAPPER .SIDEBAR_SUB_LABEL {
    color: #FFF;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 30px 0 15px 0;
    border-bottom: 1px solid rgba(148, 255, 252, 0.2);
    padding-bottom: 5px;
}

/* Mini post cards inside author sidebar */
.BLOG_LAYOUT_WRAPPER .SIDEBAR_MINI_CARD {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-bottom: 15px;
    border-left: 3px solid #94FFFC;
    transition: 0.3s;
}

.BLOG_LAYOUT_WRAPPER .SIDEBAR_MINI_CARD:HOVER {
    background: rgba(148, 255, 252, 0.05);
    transform: translateX(5px);
}

.BLOG_LAYOUT_WRAPPER .MINI_CARD_TITLE {
    font-size: 0.95rem;
    color: #FFF;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.BLOG_LAYOUT_WRAPPER .MINI_CARD_DATE {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 1px;
}


/* ============================================================
   8. SINGLE POST READ — Body Content
   ============================================================ */

.BLOG_LAYOUT_WRAPPER .POST_BODY_CONTENT {
    color: #CCC;
    font-size: 1.05rem;
    line-height: 1.9;
    letter-spacing: 0.3px;
}

.BLOG_LAYOUT_WRAPPER .POST_BODY_CONTENT P {
    margin-bottom: 22px;
}

.BLOG_LAYOUT_WRAPPER .POST_BODY_CONTENT H3 {
    color: #94FFFC;
    margin: 30px 0 12px 0;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(148, 255, 252, 0.3);
}


/* ============================================================
   9. COMMENTS SECTION
   ============================================================ */

.BLOG_LAYOUT_WRAPPER .POST_COMMENTS_SECTION {
    margin-top: 60px;
    border-top: 1px solid rgba(148, 255, 252, 0.2);
    padding-top: 40px;
}

.BLOG_LAYOUT_WRAPPER .COMMENT_AREA_TITLE {
    color: #94FFFC;
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(148, 255, 252, 0.4);
}

/* Comment input box */
.BLOG_LAYOUT_WRAPPER .COMMENT_INPUT_WRAP {
    background: #2C3539;
    padding: 35px;
    margin-bottom: 50px;
    border: 1px solid rgba(148, 255, 252, 0.2);
    clip-path: polygon(
        20px 0%,
        100% 0%,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        0% 100%,
        0% 20px
    );
}

.BLOG_LAYOUT_WRAPPER .COMMENT_TEXTAREA {
    width: 100%;
    height: 120px;
    background: #000;
    border: 1px solid #333;
    color: #94FFFC;
    padding: 15px;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.BLOG_LAYOUT_WRAPPER .COMMENT_TEXTAREA:FOCUS {
    border-color: #94FFFC;
    outline: none;
    box-shadow: inset 0 0 10px rgba(148, 255, 252, 0.2);
}

.BLOG_LAYOUT_WRAPPER .COMMENT_SUBMIT_ROW {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-top: 20px;
}

.BLOG_LAYOUT_WRAPPER .POST_COMMENT_BTN {
    background: transparent;
    color: #94FFFC;
    border: 2px solid #94FFFC;
    padding: 10px 30px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.BLOG_LAYOUT_WRAPPER .POST_COMMENT_BTN:HOVER {
    background: #94FFFC;
    color: #000;
    box-shadow: 0 0 20px rgba(148, 255, 252, 0.6);
}

/* Individual comment cards */
.BLOG_LAYOUT_WRAPPER .SINGLE_COMMENT_CARD {
    background: rgba(44, 53, 57, 0.6);
    border: 1px solid rgba(148, 255, 252, 0.15);
    padding: 25px;
    margin-bottom: 20px;
    clip-path: polygon(
        10px 0%,
        100% 0%,
        100% calc(100% - 10px),
        calc(100% - 10px) 100%,
        0% 100%,
        0% 10px
    );
    transition: 0.3s;
    position: relative;
}

.BLOG_LAYOUT_WRAPPER .COMMENT_USER_META {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.BLOG_LAYOUT_WRAPPER .COMMENT_AVATAR_MINI {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #94FFFC;
    box-shadow: 0 0 10px rgba(148, 255, 252, 0.3);
    flex-shrink: 0;
}

/* Reaction buttons */
.BLOG_LAYOUT_WRAPPER .REACTION_WRAPPER {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

.BLOG_LAYOUT_WRAPPER .REACTION_BTN {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(148, 255, 252, 0.2);
    color: #FFF;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px 12px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.BLOG_LAYOUT_WRAPPER .REACTION_BTN.LOVE:HOVER    { border-color: #FF4477; box-shadow: 0 0 15px rgba(255, 68, 119, 0.4); transform: translateY(-3px); }
.BLOG_LAYOUT_WRAPPER .REACTION_BTN.HAPPY:HOVER   { border-color: #FFDD44; box-shadow: 0 0 15px rgba(255, 221, 68, 0.4); transform: translateY(-3px); }
.BLOG_LAYOUT_WRAPPER .REACTION_BTN.ANGRY:HOVER   { border-color: #FF4444; box-shadow: 0 0 15px rgba(255, 68, 68, 0.4); transform: translateY(-3px); }
.BLOG_LAYOUT_WRAPPER .REACTION_BTN.SAD:HOVER     { border-color: #44AAFF; box-shadow: 0 0 15px rgba(68, 170, 255, 0.4); transform: translateY(-3px); }
.BLOG_LAYOUT_WRAPPER .REACTION_BTN.DISLIKE:HOVER { border-color: #AAAAAA; box-shadow: 0 0 15px rgba(170, 170, 170, 0.4); transform: translateY(-3px); }

.BLOG_LAYOUT_WRAPPER .REACTION_COUNT {
    font-weight: 700;
    font-size: 0.8rem;
    color: #94FFFC;
    letter-spacing: 1px;
}

/* Report button (top-right of comment card) */
.BLOG_LAYOUT_WRAPPER .COMMENT_REPORT_BTN {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #94FFFC;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    line-height: 1;
}

.BLOG_LAYOUT_WRAPPER .COMMENT_REPORT_BTN:HOVER {
    opacity: 1;
    text-shadow: 0 0 6px rgba(148, 255, 252, 0.5);
}


/* ============================================================
   10. REPORT MODAL & OVERLAY
   ============================================================ */

.BLOG_LAYOUT_WRAPPER .SOLO_DIMMER_OVERLAY {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.BLOG_LAYOUT_WRAPPER .GLOBAL_POPUP_WINDOW {
    background: #1A1F21;
    padding: 50px;
    width: 500px;
    max-width: 85%;
    border: 2px solid #94FFFC;
    box-shadow: 0 0 60px rgba(0, 0, 0, 1), 0 0 30px rgba(148, 255, 252, 0.1);
    clip-path: polygon(
        30px 0%,
        100% 0%,
        100% calc(100% - 30px),
        calc(100% - 30px) 100%,
        0% 100%,
        0% 30px
    );
    position: relative;
}

.BLOG_LAYOUT_WRAPPER .MODAL_ACTION_ROW {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.BLOG_LAYOUT_WRAPPER .REPORT_BLOG_COMMENT_CANCEL,
.BLOG_LAYOUT_WRAPPER .REPORT_BLOG_COMMENT_PROCEED {
    background: transparent;
    color: #94FFFC;
    border: 2px solid #94FFFC;
    padding: 10px 30px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.BLOG_LAYOUT_WRAPPER .REPORT_BLOG_COMMENT_CANCEL:HOVER,
.BLOG_LAYOUT_WRAPPER .REPORT_BLOG_COMMENT_PROCEED:HOVER {
    background: #94FFFC;
    color: #000;
    box-shadow: 0 0 20px rgba(148, 255, 252, 0.6);
}



/* ============================================================
   SECTION C — CONSOLIDATED MEDIA QUERIES
   ============================================================
   All breakpoints in one place. No scattered overrides.
     - 480px  : tiny phones (logo + tagline scaling)
     - 768px  : tablets & large phones (home sidebar, blog reflow)
     - 1024px : desktop (logo flush-left, split container lift,
                static page lift)
   ============================================================ */


/* ============================================================
   22. 480px — TINY PHONES
   ============================================================ */

@media (max-width: 480px) {
    HEADER {
        padding: .6rem .5rem;
        overflow: hidden;
    }

    .LOGO_WRAPPER {
        width: 100%;
        max-width: 100%;
    }

    DIV.LOGO {
        font-size: clamp(1.4rem, 5.5vw, 2rem);
        letter-spacing: 2px;
        white-space: nowrap;
        max-width: 100%;
    }

    .TAGLINE {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
        line-height: 1.4;
}


/* ============================================================
   23. 768px — TABLETS & LARGE PHONES
   ============================================================ */


/* ============================================================
   22b. 481px - 767px — MEDIUM MOBILE (typical phones)
   ============================================================ */

@media (min-width: 481px) and (max-width: 767px) {
    DIV.LOGO {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        letter-spacing: 3px;
    }

    .TAGLINE {
        font-size: 0.95rem;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 768px) {

    /* --- Slide-out sidebar --- */
    .SIDEBAR {
        padding: 0; /* Remove padding to prevent sliver when closed */
    }
    
    /* Add internal padding to sidebar content instead */
    .SIDEBAR > * {
        padding-left: 8px;
        padding-right: 8px;
    }

    .SIDEBAR_LOGIN_BUTTON,
    .SIDEBAR_LOGIN_INPUT input {
        width: 80%;
        margin: 0 auto 15px auto;
        display: block;
    }

    .MATH_WRAPPER,
    .TERMS_WRAPPER {
        width: 80%;
    }

    /* --- Blog reflow --- */
    html, body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }

    /* Page title: center, remove hardcoded left margin */
    .BLOG_CATEGORY_PAGE_TITLE {
        font-size: 1.8rem;
        margin: 10px 0;
        text-align: center;
    }

    /* Wrapper becomes single column; children use order */
    .BLOG_LAYOUT_WRAPPER {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Content left stays a normal block */
    .BLOG_LAYOUT_WRAPPER .BLOG_CONTENT_LEFT {
        flex: none;
        width: 100%;
        order: 1;
    }

    /* Featured card: reduce padding, remove clip-path */
    .BLOG_LAYOUT_WRAPPER .FEATURED_POST_CARD {
        order: 1;
        padding: 30px 20px;
        clip-path: none;
        border-radius: 8px;
    }

    /* Hero header: stack avatar above title */
    .BLOG_LAYOUT_WRAPPER .FEATURED_HERO_HEADER {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    /* Shrink featured avatar */
    .BLOG_LAYOUT_WRAPPER .AVATAR_FEATURED {
        width: 100px;
        height: 100px;
    }

    /* Shrink hero title */
    .BLOG_LAYOUT_WRAPPER .POST_TITLE_LARGE {
        font-size: clamp(1.8rem, 5vw + 1rem, 2.8rem);
        text-align: center;
    }

    /* Excerpt fills full width */
    .BLOG_LAYOUT_WRAPPER .POST_CONTENT_AREA P {
        max-width: 100%;
    }

    /* Sidebar: flush & centered, proper box-sizing */
    .BLOG_LAYOUT_WRAPPER .BLOG_SIDEBAR_RIGHT,
    .BLOG_LAYOUT_WRAPPER .READ_SIDEBAR_AUTHOR {
        order: 2;
        margin: 20px 0 20px 0;
        position: static;
        width: 100%;
        clip-path: none;
        border-radius: 8px;
        margin-left: 0;
        box-sizing: border-box;
    }

    /* Grid drops to single column */
    .BLOG_LAYOUT_WRAPPER .PRIMARY_CONTENT_GRID {
        order: 3;
        display: grid;
        grid-template-columns: 1fr;
    }

    /* Grid cards: remove clip-path */
    .BLOG_LAYOUT_WRAPPER .GRID_POST_CARD {
        clip-path: none;
        border-radius: 8px;
    }

    /* Grid excerpt fills full width */
    .BLOG_LAYOUT_WRAPPER .GRID_EXCERPT {
        max-width: 100%;
    }

    /* Comments section anchors last */
    .BLOG_LAYOUT_WRAPPER .POST_COMMENTS_SECTION {
        order: 4;
        width: 100%;
        margin-top: 40px;
    }

    /* Comment input box: remove clip-path */
    .BLOG_LAYOUT_WRAPPER .COMMENT_INPUT_WRAP {
        clip-path: none;
        border-radius: 8px;
        padding: 25px 20px;
    }

    /* Modal: tighten on small screens */
    .BLOG_LAYOUT_WRAPPER .GLOBAL_POPUP_WINDOW {
        padding: 30px 20px;
        clip-path: none;
        border-radius: 8px;
    }
}


/* ============================================================
   24. 1024px — DESKTOP THRESHOLD
   ============================================================ */

@media screen and (min-width: 1024px) {

    /* Logo & branding flush left */
    HEADER {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 0 0 1.5rem;
        justify-content: flex-start;
        background: #242424;
        position: relative;
        z-index: 10;
    }

    .LOGO_WRAPPER {
        align-items: flex-start;
        text-align: left;
    }

    .LOGO {
        font-size: 3rem;
        padding-top: 10px;
    }

    .TAGLINE {
        font-size: 0.95rem;
        margin-top: 2px;
        padding-bottom: 10px;
    }

    .TAGLINE SPAN {
        display: inline;
        padding-top: 0;
        padding-left: 5px;
        margin-bottom: 0;
    }

    /* Split container: lift via negative margin, animate in */
    MAIN.SPLIT_CONTAINER {
        margin: -35px auto 30px auto;
        position: relative;
        z-index: 5;
        animation: heroEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    }

    /* Both shelf titles flush to top */
    .HALF_CONTAINER.FORM_SIDE,
    .HALF_CONTAINER.INFO_SIDE {
        justify-content: flex-start;
        padding: 0;
    }

    .PAGE_HEADING {
        margin-top: 0;
    }

    /* Static page: desktop lift & deep shadow */
    .STATIC_PAGE_CONTAINER {
        width: 80%;
        max-width: 850px;
        margin: 40px auto 30px auto;
        transform: translateY(-35px);
        filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.7));
    }

    .STATIC_PAGE_CONTAINER .STATIC_SHELF_HEADER {
        padding: 50px 30px;
    }

    .STATIC_PAGE_CONTAINER .STATIC_CONTENT_WRAP {
        padding: 70px 80px;
    }

    .STATIC_PAGE_CONTAINER .STATIC_MAIN_TITLE {
        letter-spacing: 12px;
    }
}


/* ============================================================
   24b. <=1023px — TABLET & MOBILE (home page stacking)
   ============================================================ */

@media screen and (max-width: 1023px) {

    MAIN.SPLIT_CONTAINER {
        display: block;
        width: 100%;
        margin: 5px auto 0 auto;
        position: relative;
        z-index: 5;
    }

    .HALF_CONTAINER {
        display: block;
        width: 100%;
        padding: 15px 0;
        text-align: center;
    }

    .PAGE_HEADING {
        margin-top: 0;
        font-size: 1.8rem;
    }

    .FORM_WRAPPER,
    .INFO_WRAPPER {
        width: 100%;
    }

    /* Static page: tight & clean */
    .STATIC_PAGE_CONTAINER {
        margin-top: 5px;
        width: 95%;
    }

    .STATIC_PAGE_CONTAINER .STATIC_SHELF_HEADER {
        padding: 20px 10px;
        outline: none;
    }

    .STATIC_PAGE_CONTAINER .STATIC_CONTENT_WRAP {
        padding: 30px 20px;
        outline: none;
    }
}

.CONTACT_SUCCESS {
    display: none;
}
/* ============================================================
   STATIC PAGE CARDS - Library-style Layout for Static Pages
   ============================================================ */

.STATIC_PAGE_CARD {
    background: linear-gradient(135deg, #1a1a1a 0%, #242424 100%);
    padding: 60px 50px;
    clip-path: polygon(
        20px 0, 100% 0, 100% calc(100% - 20px), 
        calc(100% - 20px) 100%, 0 100%, 0 20px
    );
    margin-bottom: 40px;
    border: 1px solid #333;
    transition: 0.3s;
}

.STATIC_PAGE_CARD:hover {
    border-color: #94FFFC;
    box-shadow: 0 0 30px rgba(148, 255, 252, 0.1);
}

.STATIC_CONTENT_AREA {
    color: #CCCCCC;
    line-height: 1.8;
}

.STATIC_CONTENT_AREA P {
    margin-bottom: 20px;
}

.STATIC_CONTENT_AREA STRONG {
    color: #94FFFC;
}

/* Sidebar modules for static pages */
.SIDEBAR_MODULE {
    background: #1a1a1a;
    padding: 25px;
    border-left: 3px solid #94FFFC;
    margin-bottom: 20px;
}

.SIDEBAR_HEADING {
    color: #94FFFC;
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

/* Form wrapper for homepage */
.FORM_WRAPPER {
    width: 100%;
}

.FORM_WRAPPER INPUT[TYPE="text"],
.FORM_WRAPPER INPUT[TYPE="email"],
.FORM_WRAPPER INPUT[TYPE="password"],
.FORM_WRAPPER INPUT[TYPE="number"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #FFF;
    font-size: 1rem;
    box-sizing: border-box;
}

.FORM_WRAPPER INPUT:focus {
    outline: none;
    border-color: #94FFFC;
    box-shadow: 0 0 10px rgba(148, 255, 252, 0.3);
}

.FORM_WRAPPER BUTTON[TYPE="submit"] {
    width: 100%;
    padding: 15px;
    background: #94FFFC;
    color: #000;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.FORM_WRAPPER BUTTON[TYPE="submit"]:hover {
    background: #FFF;
    box-shadow: 0 0 20px rgba(148, 255, 252, 0.6);
}

.REGISTER_TOGGLE_BUTTON {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: transparent;
    color: #94FFFC;
    border: 1px solid #94FFFC;
    cursor: pointer;
    transition: 0.3s;
}

.REGISTER_TOGGLE_BUTTON:hover {
    background: #94FFFC;
    color: #000;
}

.TERMS_WRAPPER,
.MATH_WRAPPER {
    margin: 20px 0;
}

.CHECKBOX_LABEL {
    display: flex;
    align-items: center;
    color: #CCCCCC;
    cursor: pointer;
}

.CHECKBOX_CUSTOM {
    width: 20px;
    height: 20px;
    border: 2px solid #94FFFC;
    margin-right: 10px;
    display: inline-block;
}

.MATH_LABEL {
    display: block;
    color: #94FFFC;
    margin-bottom: 10px;
}

.VISUAL_HELPER,
.FIELD_HIDDEN {
    display: none !important;
    visibility: hidden !important;
}


/* Error message styling */
.ERROR_MESSAGE {
    display: block;
    font-size: 0.85rem;
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Input validation states */
.FORM_WRAPPER INPUT.INPUT_ERROR {
    border-color: #FF4B4B !important;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.3) !important;
}

.FORM_WRAPPER INPUT.INPUT_VALID {
    border-color: #32CD32 !important;
    box-shadow: 0 0 10px rgba(50, 205, 50, 0.3) !important;
}

/* Checkbox styling improvements */
.CHECKBOX_LABEL INPUT[type="checkbox"] {
    display: none;
}

.CHECKBOX_LABEL INPUT[type="checkbox"]:checked + .CHECKBOX_CUSTOM::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #94FFFC;
    font-size: 16px;
    font-weight: bold;
}

.CHECKBOX_CUSTOM {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #94FFFC;
    margin-right: 10px;
    display: inline-block;
    flex-shrink: 0;
    transition: 0.3s;
}

.CHECKBOX_ERROR_BORDER {
    border-color: #FF4B4B !important;
}

.CHECKBOX_ERROR_TEXT {
    color: #FF4B4B !important;
}


/* ALTCHA Widget Styling */
.ALTCHA_WRAPPER {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

altcha-widget {
    width: 100%;
    max-width: 400px;
}

/* Style the ALTCHA widget to match our theme */
altcha-widget::part(base) {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
}

altcha-widget::part(label) {
    color: #CCCCCC;
}

altcha-widget::part(checkbox) {
    border-color: #94FFFC;
}


/* Loading Spinner */
.LOADING_SPINNER {
    width: 60px;
    height: 60px;
    margin: 50px auto;
    border: 6px solid #333;
    border-top: 6px solid #94FFFC;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(148, 255, 252, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading and Success screens */
#LOADING_SCREEN,
#SUCCESS_SCREEN {
    text-align: center;
    padding: 60px 20px;
}


/* ============================================================
   WORD-WRAP FIX - Prevents long words from breaking layout
   ============================================================ */

/* Apply to all post content areas */
.FEATURED_POST_EXCERPT,
.POST_CARD_EXCERPT,
.POST_CARD_BODY,
.FEATURED_POST_BODY,
article p,
.STATIC_CONTENT_AREA p,
.BLOG_POST_CONTENT p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Specifically for grid cards */
.POST_GRID_CARD {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* For any content that might have long URLs or no-space text */
.POST_CARD_TITLE,
.FEATURED_POST_TITLE {
    word-wrap: break-word;
    overflow-wrap: break-word;
}


/* ============================================================
   PROFILE PAGE SIDEBAR - Unique classes to prevent conflicts
   ============================================================ */

.PROFILE_SIDEBAR {
    flex: 1;
    background: #2C3539;
    border: 1px solid rgba(148, 255, 252, 0.3);
    padding: 40px 30px;
    position: sticky;
    top: 40px;
    clip-path: polygon(
        15px 0%,
        100% 0%,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0% 100%,
        0% 15px
    );
    margin-left: 30px;
    max-width: 350px;
    box-sizing: border-box;
}

.PROFILE_SIDEBAR_WELCOME {
    color: #94FFFC;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 0 8px rgba(148, 255, 252, 0.4);
}

.PROFILE_SIDEBAR_DIVIDER {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #94FFFC, transparent);
    box-shadow: 0 0 10px #94FFFC;
    margin: 20px 0;
}

.PROFILE_SEARCH_PLATE {
    margin: 20px 0;
}

.PROFILE_SEARCH_BOX {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.PROFILE_SEARCH_INPUT {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    color: #94FFFC;
    padding: 12px;
    font-size: 14px;
    transition: .3s;
    box-sizing: border-box;
}

.PROFILE_SEARCH_INPUT:focus {
    outline: none;
    border-color: #94FFFC;
    box-shadow: 0 0 8px rgba(148, 255, 252, 0.3);
}

.PROFILE_SEARCH_BTN {
    background: transparent;
    color: #94FFFC;
    border: 1px solid #94FFFC;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 700;
    transition: .3s;
    flex-shrink: 0;
}

.PROFILE_SEARCH_BTN:hover {
    background: #94FFFC;
    color: #000;
    box-shadow: 0 0 12px rgba(148, 255, 252, 0.4);
}

.PROFILE_LOGOUT_LINK {
    display: block;
    text-align: center;
    color: #FF4444;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 25px;
}

.PROFILE_LOGOUT_LINK:hover {
    color: #FF6666;
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .PROFILE_SIDEBAR {
        margin-left: 0;
        margin-top: 30px;
        max-width: 100%;
        position: relative;
        top: 0;
    }
}

/* ============================================================
   PROFILE PAGE SIDEBAR - Isolated CSS (won't conflict with blog sidebars)
   ============================================================ */

.PROFILE_PAGE_SIDEBAR {
    flex: 1;
    background: #2C3539;
    border: 1px solid rgba(148, 255, 252, 0.3);
    padding: 40px 30px;
    position: sticky;
    top: 40px;
    align-self: flex-start;
    clip-path: polygon(
        15px 0%,
        100% 0%,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0% 100%,
        0% 15px
    );
    margin-left: 30px;
    min-width: 300px;
    max-width: 350px;
    box-sizing: border-box;
}

.PROFILE_PAGE_WELCOME {
    color: #94FFFC;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 0 8px rgba(148, 255, 252, 0.4);
    font-weight: 700;
}

.PROFILE_PAGE_DIVIDER {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #94FFFC, transparent);
    box-shadow: 0 0 10px #94FFFC;
    margin: 20px 0;
}

.PROFILE_PAGE_SEARCH_PLATE {
    margin: 20px 0;
}

.PROFILE_PAGE_SEARCH_BOX {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.PROFILE_PAGE_SEARCH_INPUT {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    color: #94FFFC;
    padding: 12px;
    font-size: 14px;
    transition: .3s;
    box-sizing: border-box;
}

.PROFILE_PAGE_SEARCH_INPUT:focus {
    outline: none;
    border-color: #94FFFC;
    box-shadow: 0 0 8px rgba(148, 255, 252, 0.3);
}

.PROFILE_PAGE_SEARCH_BTN {
    background: transparent;
    color: #94FFFC;
    border: 1px solid #94FFFC;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 700;
    transition: .3s;
    flex-shrink: 0;
}

.PROFILE_PAGE_SEARCH_BTN:hover {
    background: #94FFFC;
    color: #000;
    box-shadow: 0 0 12px rgba(148, 255, 252, 0.4);
}

.PROFILE_PAGE_LOGOUT_LINK {
    display: inline-block;
    color: #FF4444;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: 0.3s;
}

.PROFILE_PAGE_LOGOUT_LINK:hover {
    color: #FF6666;
    text-decoration: underline;
}

/* Mobile responsive for profile sidebar */
@media (max-width: 768px) {
    .PROFILE_PAGE_SIDEBAR {
        margin-left: 0;
        margin-top: 30px;
        max-width: 100%;
        min-width: 100%;
        position: relative;
        top: 0;
    }
}

/* ============================================================
   PROFILE PAGE SIDEBAR - Unique Classes (Won't Affect Other Pages)
   ============================================================ */

.PROFILE_PAGE_SIDEBAR {
    flex: 1;
    background: #2C3539;
    border: 1px solid rgba(148, 255, 252, 0.3);
    padding: 40px 30px;
    position: sticky;
    top: 40px;
    clip-path: polygon(
        15px 0%,
        100% 0%,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0% 100%,
        0% 15px
    );
    margin-left: 30px;
    box-sizing: border-box;
}

.PROFILE_PAGE_WELCOME {
    color: #94FFFC;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    text-align: center;
}

.PROFILE_PAGE_DIVIDER {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #94FFFC, transparent);
    box-shadow: 0 0 10px #94FFFC;
    margin: 20px 0;
}

.PROFILE_PAGE_SEARCH_PLATE {
    margin-top: 10px;
}

.PROFILE_PAGE_SEARCH_BOX {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.PROFILE_PAGE_SEARCH_INPUT {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #94FFFC;
    padding: 12px;
    font-size: 14px;
    transition: .3s;
    box-sizing: border-box;
}

.PROFILE_PAGE_SEARCH_INPUT:focus {
    outline: none;
    border-color: #94FFFC;
    box-shadow: 0 0 8px rgba(148, 255, 252, 0.3);
}

.PROFILE_PAGE_SEARCH_BTN {
    background: transparent;
    color: #94FFFC;
    border: 1px solid #94FFFC;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 700;
    transition: .3s;
    flex-shrink: 0;
}

.PROFILE_PAGE_SEARCH_BTN:hover {
    background: #94FFFC;
    color: #000;
    box-shadow: 0 0 12px rgba(148, 255, 252, 0.4);
}

.PROFILE_PAGE_LOGOUT_LINK {
    display: inline-block;
    color: #FF4444;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: 0.3s;
}

.PROFILE_PAGE_LOGOUT_LINK:hover {
    color: #FF6666;
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .PROFILE_PAGE_SIDEBAR {
        margin-left: 0;
        margin-top: 30px;
        position: relative;
        top: 0;
    }
}
/* ============================================================
   PROFILE PAGE - COMPLETELY ISOLATED CSS
   These classes are ONLY for profile pages (view.php)
   ============================================================ */

/* Header Title */
.PROFILE_PAGE_TITLE {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #94FFFC;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(148, 255, 252, 0.6);
    margin: 30px 0;
    font-weight: 700;
}

/* Main Layout Container */
.PROFILE_MAIN_WRAPPER {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

/* For logged-out users - two column layout */
.PROFILE_TWO_COLUMN {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

.PROFILE_CONTENT_LEFT {
    flex: 2;
    min-width: 0;
}

.PROFILE_SIDEBAR_RIGHT {
    flex: 1;
    max-width: 400px;
    background: #2C3539;
    border: 1px solid rgba(148, 255, 252, 0.3);
    padding: 40px 30px;
    position: sticky;
    top: 40px;
    align-self: flex-start;
    clip-path: polygon(
        15px 0%,
        100% 0%,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0% 100%,
        0% 15px
    );
    box-sizing: border-box;
}

.PROFILE_SIDEBAR_MODULE {
    margin-bottom: 30px;
}

.PROFILE_SIDEBAR_HEADING {
    color: #94FFFC;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(148, 255, 252, 0.4);
}

.PROFILE_SIDEBAR_MODULE P {
    color: #CCCCCC;
    line-height: 1.8;
    margin: 10px 0;
}

/* Card Containers */
.PROFILE_STATIC_CARD {
    background: #2C3539;
    border: 1px solid rgba(148, 255, 252, 0.2);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.PROFILE_CONTENT_AREA {
    color: #ccc;
    line-height: 1.8;
    font-size: 1rem;
}

/* Dividers */
.PROFILE_DIVIDER {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #94FFFC, transparent);
    box-shadow: 0 0 10px #94FFFC;
    margin: 20px 0;
}

/* Section Titles */
.PROFILE_SECTION_TITLE {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}


/* ============================================================

/* ============================================================
   PROFILE PAGE LAYOUT - CLEAN TWO-COLUMN DESIGN
   ============================================================ */

/* Main Profile Container - Two Column Grid */
.PROFILE_LAYOUT {
    max-width: 1400px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    grid-template-rows: auto !important;
    gap: 30px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Left Sidebar - Fixed Width Column */
.LEFT_SIDEBAR_NEW {
    grid-column: 1 !important;
    background: #2C3539;
    border: 1px solid rgba(148, 255, 252, 0.2);
    border-radius: 10px;
    padding: 25px;
    box-sizing: border-box;
    width: 280px;
    max-width: 280px;
    min-width: 280px;
}

.SIDEBAR_SECTION {
    margin-bottom: 25px;
}

.SIDEBAR_SECTION_HEADER {
    color: #94FFFC;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.GLOW_DIVIDER_NEW {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #94FFFC, transparent);
    margin: 10px 0 15px 0;
    box-shadow: 0 0 10px rgba(148, 255, 252, 0.5);
}

.SIDEBAR_INFO_BUBBLE {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(148, 255, 252, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.INFO_ICON_NEW {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.INFO_VALUE_BUBBLE {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    flex: 1;
}

.SIDEBAR_ACTIONS {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.ACTION_BTN_NEW {
    width: 100%;
    padding: 12px 20px;
    background: #94FFFC;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ACTION_BTN_NEW:hover {
    background: #7ee6e3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(148, 255, 252, 0.4);
}

.ACTION_BTN_NEW.DANGER_BTN {
    background: #FF4444;
    color: #fff;
}

.ACTION_BTN_NEW.DANGER_BTN:hover {
    background: #ff2222;
}

.EDIT_BTN_INLINE {
    background: transparent;
    border: none;
    color: #94FFFC;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 2px 6px;
    opacity: 0.7;
    transition: 0.3s;
}

.EDIT_BTN_INLINE:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Main Content Area - Flexible Width Column */
.MAIN_CONTENT_EXPANDED {
    grid-column: 2 !important;
    background: #2C3539;
    border: 1px solid rgba(148, 255, 252, 0.2);
    border-radius: 10px;
    padding: 30px;
    box-sizing: border-box;
    min-height: 400px;
    width: 100%;
}

.SECTION_TITLE_NEW {
    color: #94FFFC;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.ABOUT_ME_SECTION {
    margin-bottom: 30px;
}

.ABOUT_TEXT_NEW {
    color: #ccc;
    line-height: 1.8;
    font-size: 1rem;
}

.CONTENT_DIVIDER_NEW {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(148, 255, 252, 0.3), transparent);
    margin: 30px 0;
}

/* Activity Section Styles */
.RECENT_ACTIVITY_SECTION {
    width: 100%;
}

.ACTIVITY_GRID {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.ACTIVITY_CARD {
    background: #1a1a1a;
    border: 1px solid rgba(148, 255, 252, 0.15);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-align: left;
}

.ACTIVITY_CARD:hover {
    border-color: #94FFFC;
    box-shadow: 0 0 20px rgba(148, 255, 252, 0.3);
    transform: translateY(-3px);
}

.ACTIVITY_TYPE_BADGE {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.BADGE_WALL {
    background: rgba(148, 255, 252, 0.2);
    color: #94FFFC;
    border: 1px solid #94FFFC;
}

.BADGE_LIBRARY {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.BADGE_JOURNAL {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid #FF9800;
}

.BADGE_COMMUNITY {
    background: rgba(156, 39, 176, 0.2);
    color: #9C27B0;
    border: 1px solid #9C27B0;
}

.BADGE_DOODLE {
    background: rgba(255, 105, 180, 0.2);
    color: #FF69B4;
    border: 1px solid #FF69B4;
}

.FEELING_BADGE {
    display: inline-block;
    background: rgba(255, 193, 7, 0.15);
    color: #FFC107;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.COMMUNITY_POST_IMAGE {
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
}

.ACTIVITY_TITLE {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    cursor: pointer;
}

.ACTIVITY_TITLE:hover {
    color: #94FFFC;
}

.ACTIVITY_CATEGORY {
    color: #94FFFC;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-style: italic;
}

.ACTIVITY_CONTENT {
    color: #ccc;
    line-height: 1.6;
    margin: 12px 0;
    white-space: pre-line;
    text-align: left;
}

.ACTIVITY_DATE {
    color: #888;
    font-size: 0.85rem;
    margin-top: 10px;
}

.NO_ACTIVITY {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 40px;
}

.LOAD_MORE_BTN {
    display: block;
    margin: 30px auto 0;
    background: transparent;
    border: 2px solid #94FFFC;
    color: #94FFFC;
    padding: 12px 40px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.LOAD_MORE_BTN:hover {
    background: #94FFFC;
    color: #000;
}

/* Activity Filter Tabs */
.FILTER_TABS {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.FILTER_TAB {
    background: transparent;
    border: 2px solid rgba(148, 255, 252, 0.3);
    color: #94FFFC;
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.FILTER_TAB:hover {
    border-color: #94FFFC;
    background: rgba(148, 255, 252, 0.1);
}

.FILTER_TAB.ACTIVE {
    background: #94FFFC;
    color: #000;
    border-color: #94FFFC;
}

/* Mobile Filter Dropdown */
.MOBILE_FILTER_CONTAINER {
    width: 100%;
}

.MOBILE_FILTER_SELECT {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    background: #2C3539;
    border: 2px solid rgba(148, 255, 252, 0.3);
    border-radius: 8px;
    color: #94FFFC;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394FFFC' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.MOBILE_FILTER_SELECT:focus {
    outline: none;
    border-color: #94FFFC;
    box-shadow: 0 0 15px rgba(148, 255, 252, 0.3);
}

.MOBILE_FILTER_SELECT option {
    background: #1a1a1a;
    color: #94FFFC;
    padding: 10px;
}

/* Responsive - Show/Hide Filters */
@media (max-width: 768px) {
    .DESKTOP_FILTERS {
        display: none !important;
    }
    
    .MOBILE_FILTER_CONTAINER {
        display: block !important;
    }
}

/* Quick Action Buttons (for own profile) */
.QUICK_ACTION_BUTTONS {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    justify-content: center;
}

.QUICK_ACTION_BTN {
    flex: 1;
    max-width: 200px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #94FFFC 0%, #7de0dd 100%);
    color: #000;
    border: none;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(148, 255, 252, 0.3);
    transition: all 0.3s ease;
}

.QUICK_ACTION_BTN:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(148, 255, 252, 0.5);
}

/* ========== PROFILE PAGE MOBILE RESPONSIVE (PROFILE-SPECIFIC ONLY) ========== */

/* Logged-out profile - Tablet */
@media (max-width: 1200px) {
    .PROFILE_TWO_COLUMN {
        flex-direction: column;
        gap: 20px;
    }
    
    .PROFILE_SIDEBAR_RIGHT {
        max-width: 100%;
        position: static;
    }
}

/* Logged-out profile - Mobile */
@media (max-width: 768px) {
    .PROFILE_PAGE_TITLE {
        font-size: 1.5rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .PROFILE_TWO_COLUMN {
        padding: 10px;
        gap: 20px;
        margin: 10px auto;
    }
    
    .PROFILE_CONTENT_LEFT,
    .PROFILE_SIDEBAR_RIGHT {
        padding: 20px 15px !important;
    }
    
    .PROFILE_STATIC_CARD {
        padding: 20px 15px;
    }
    
    .PROFILE_CONTENT_AREA h2 {
        font-size: 1.3rem !important;
        text-align: center;
    }
    
    .PROFILE_CONTENT_AREA form {
        max-width: 100% !important;
    }
    
    .PROFILE_SIDEBAR_HEADING {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .PROFILE_SIDEBAR_MODULE {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .PROFILE_SIDEBAR_MODULE p {
        font-size: 0.9rem;
    }
}

/* Logged-in profile - Tablet - Stack sidebar on top */
@media (max-width: 1200px) {
    /* Only affect profile layout */
    .PROFILE_LAYOUT { 
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        margin: 20px auto !important;
    }
    
    .LEFT_SIDEBAR_NEW {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        grid-column: 1 !important;
    }
    
    .MAIN_CONTENT_EXPANDED {
        grid-column: 1 !important;
    }
}

/* Mobile - Profile page optimizations */
@media (max-width: 768px) {
    /* Profile layout */
    .PROFILE_LAYOUT { 
        padding: 10px !important;
        gap: 20px !important;
        margin: 10px auto !important;
    }
    
    /* Profile sidebar */
    .LEFT_SIDEBAR_NEW { 
        padding: 20px 15px !important;
        border-radius: 8px;
    }
    
    /* Profile main content */
    .MAIN_CONTENT_EXPANDED { 
        padding: 20px 15px !important;
    }
    
    /* Profile sidebar sections */
    .SIDEBAR_SECTION {
        margin-bottom: 20px;
    }
    
    .SIDEBAR_SECTION_HEADER {
        font-size: 0.95rem;
    }
    
    .INFO_ICON_NEW {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .INFO_VALUE_BUBBLE {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    /* Profile action buttons */
    .SIDEBAR_ACTIONS {
        gap: 10px;
    }
    
    .ACTION_BTN_NEW,
    .DANGER_BTN {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    /* Profile sections */
    .SECTION_TITLE_NEW { 
        font-size: 1.4rem;
        text-align: left;
        margin-bottom: 15px;
    }
    
    .GLOW_DIVIDER_NEW,
    .CONTENT_DIVIDER_NEW {
        margin: 15px 0;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .PROFILE_LAYOUT {
        padding: 5px !important;
        gap: 15px !important;
    }
    
    .LEFT_SIDEBAR_NEW,
    .MAIN_CONTENT_EXPANDED {
        padding: 15px 12px !important;
    }
    
    .SECTION_TITLE_NEW {
        font-size: 1.2rem;
    }
    
    .INFO_VALUE_BUBBLE {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .ACTION_BTN_NEW,
    .DANGER_BTN {
        font-size: 0.85rem;
        padding: 8px;
    }
}
