/*
Theme Name: Zorin Classic
Theme URI: https://github.com/
Author: Theme Maker Agency
Author URI: https://github.com/
Description: A modern, 1440px wide, fully responsive blog theme for ClassicPress & WordPress. Features faithful original desktop styling, calibrated pure white triangle notch cutouts, proportional dual sidebars, compact cohesive mobile header, and crisp comment icons.
Version: 2.3.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, clean, custom-logo, custom-menu, featured-images, right-sidebar, two-columns, three-columns, responsive-layout, mobile-friendly
Text Domain: zorin-classic
*/

/* --------------------------------------------------------------------------
   1. RESET & BASE TYPOGRAPHY (MAJOR THIRD SCALE / BASE 16px)
   -------------------------------------------------------------------------- */
:root {
    --bg: #1a192c;
    --bg-gradient-end: #39365e;
    --text-color: #2c2a4a;
    --accent-orange: #ff6600;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "verdana", "lucida sans", "lucida grande", sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    font-size: 1rem; /* 16px */
    line-height: 1.65;
    color: #2c2a4a;
    background: #1a192c linear-gradient(180deg, #1a192c 0%, #39365e 100%) no-repeat fixed;
    min-height: 100vh;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Typographic Scale: Major Third (1.2) - Base 1rem = 16px */
h1, .h1 {
    font-size: 2.986rem; /* ~47.78px */
    line-height: 1.15;
}

h2, .h2 {
    font-size: 2.488rem; /* ~39.81px */
    line-height: 1.2;
}

h3, .h3 {
    font-size: 2.074rem; /* ~33.18px */
    line-height: 1.25;
}

h4, .h4 {
    font-size: 1.728rem; /* ~27.65px */
    line-height: 1.3;
}

h5, .h5 {
    font-size: 1.44rem; /* ~23.04px */
    line-height: 1.35;
}

h6, .h6 {
    font-size: 1.2rem; /* ~19.2px */
    line-height: 1.4;
}

p, .entry p {
    font-size: 1rem; /* 16px */
    line-height: 1.65;
    margin: 6px 0 0;
}

small, .small {
    font-size: 0.833rem; /* ~13.33px */
}

.extra-small, .text-xs, small small, .smaller {
    font-size: 0.694rem; /* ~11.1px */
}

h1, h2, h3, h4, h5, h6 {
    font-family: "lucida sans unicode", "lucida sans", "lucida grande", sans-serif;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 0.5em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #81a1c1;
    transition: color 0.15s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a:hover {
    text-decoration: none;
    color: #ccc;
}

a:focus {
    outline: none;
}

p, .entry, .comment-body, .post {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

input, textarea, select, button {
    font: normal 1rem/normal Verdana, sans-serif;
    color: #2c2a4a;
    max-width: 100%;
}

#s {
    background-color: #fff;
}

cite {
    font-style: normal;
    font-weight: 700;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* --------------------------------------------------------------------------
   2. LAYOUT & CONTAINERS (1440px STANDARD DESKTOP)
   -------------------------------------------------------------------------- */
#wrap {
    width: 100%;
    max-width: 1440px;
    text-align: left;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

#container,
.site-container {
    background: #ffffff;
    margin-bottom: 15px;
    width: 100%;
    max-width: 1440px;
    clear: both;
    position: relative;
    z-index: 5;
    border-radius: 8px;
    border-top-left-radius: 0; /* Seamless connection with first nav tab */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.container-inner,
.content-area {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 550px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: #ffffff;
}

#postswrap,
.site-main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 32px 35px 28px 35px; /* Symmetrical 35px left margin matching right */
    margin: 0;
    background: #ffffff;
    box-sizing: border-box;
}

#postswrap .left {
    width: 100%;
}

/* Sidebar Column 1 (Mijloc) */
#sidebar,
.sidebar-primary {
    width: 290px;
    flex-shrink: 0;
    background: #f2f6fc;
    padding: 32px 20px 28px 20px;
    border: none;
    box-sizing: border-box;
}

/* Sidebar Column 2 (Dreapta / Verde - Flush to right edge with 35px right padding) */
#sidebar-verde,
.sidebar-secondary {
    width: 270px;
    flex-shrink: 0;
    background: #f2f6fc;
    margin-left: 18px; /* Pure white channel between sidebar 1 and sidebar 2 */
    padding: 32px 35px 28px 20px; /* 35px right padding matching 35px left post margin */
    border: none;
    box-sizing: border-box;
}

/* When only 1 sidebar is present */
.content-area > #sidebar:last-child {
    width: 330px;
    padding: 32px 35px 28px 20px;
    flex-shrink: 0;
}

.content-area > #postswrap:only-child {
    flex: 1 1 100%;
    width: 100%;
}

/* --------------------------------------------------------------------------
   3. HEADER & ANCHORED TAB NAVIGATION (SEAMLESS MERGE WITH CONTAINER)
   -------------------------------------------------------------------------- */
#header {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px; /* 28px space above logo */
    padding-bottom: 58px; /* 28px space below tagline + 30px nav tabs area */
    margin: 0;
    box-sizing: border-box;
    width: 100%;
}

#header #logo,
#header .site-branding {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: static;
}

#header #logo h1,
#header #logo .site-title {
    font-family: "lucida sans unicode", "lucida sans", "lucida grande", sans-serif;
    font-size: 2.074rem; /* 33.18px */
    font-weight: bold;
    letter-spacing: -1px;
    margin: 0;
    padding: 0;
    line-height: 1.15;
}

#header #logo h1 a,
#header #logo .site-title a {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    display: inline-block;
    transition: color 0.15s ease;
}

#header #logo h1 a:hover,
#header #logo .site-title a:hover {
    color: #d5e5f7;
}

#header .custom-logo-link {
    display: block;
    max-height: 52px;
}

#header .custom-logo-link img {
    max-height: 52px;
    width: auto;
}

/* Tagline / Description: Under blog title/logo, smaller than paragraph (0.833rem vs 1rem) */
#header .description,
#header .site-description,
#header .tagline {
    font-size: 0.833rem; /* 13.33px - smaller than paragraph */
    line-height: 1.35;
    color: #a4c4e8;
    font-style: italic;
    margin: 6px 0 0 2px;
    padding: 0;
    position: static;
}

.leader {
    width: 728px;
    max-width: 55%;
    height: 90px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: #363b51;
    border: 1px solid #575e7a;
    color: #fff;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin: 0 0 6px 0;
    text-align: center;
    width: 100%;
    transition: background 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover {
    background: #4a516e;
}

/* NAV TABS - Anchored Directly to Top of Container */
#nav-container {
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 10;
    width: auto;
}

#nav {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

#nav li {
    float: left;
    margin: 0 3px 0 0;
    padding: 0;
}

#nav li a {
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    text-indent: 0;
    font-family: "lucida sans unicode", "lucida sans", "lucida grande", Verdana, sans-serif;
    font-size: 0.833rem; /* 13.33px */
    font-weight: bold;
    color: #c0d3e8;
    background: #363b51;
    border: 1px solid #575e7a;
    border-bottom: none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    text-transform: none;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    transition: all 0.15s ease;
}

#nav li a:hover {
    background: #4a516e;
    color: #ffffff;
    border-color: #6a7395;
}

/* Dynamic Active Tab - Completely United with White Container Below */
#nav li.current-menu-item a,
#nav li.current_page_item a,
#nav li.current-menu-parent a,
#nav li.active a {
    background: #ffffff !important;
    color: #2c2a4a !important;
    font-weight: bold;
    height: 32px;
    line-height: 32px;
    border: 1px solid #ffffff !important;
    border-bottom: 1px solid #ffffff !important;
    margin-bottom: -1px;
    text-shadow: none;
    position: relative;
    z-index: 25;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);
}

/* First active tab specifically flush with container top-left */
#nav li:first-child.current-menu-item a,
#nav li:first-child.active a {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 0;
}

/* --------------------------------------------------------------------------
   4. POSTS & ARCHIVES
   -------------------------------------------------------------------------- */
.post {
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 2px dotted #90b2d5;
    position: relative;
}

.post::after {
    content: "";
    display: table;
    clear: both;
}

.post .data {
    margin-bottom: 4px;
    font-size: 0.833rem; /* 13.33px */
    color: #778899;
}

.post h1, .post h2.entry-title {
    font-size: 1.728rem; /* 27.65px in listings */
    font-weight: 400;
    letter-spacing: -1px;
    margin: 4px 0 10px 0;
    line-height: 1.25;
}

.post h1 a, .post h2.entry-title a {
    color: #ff6600;
}

.post h1 a:hover, .post h2.entry-title a:hover {
    color: #336;
}

.post .entry {
    font-size: 1rem; /* 16px */
    line-height: 1.65;
    color: #2c2a4a;
    clear: both;
    margin-bottom: 12px;
}

.post .entry::after {
    content: "";
    display: table;
    clear: both;
}

.post .entry p {
    font-size: 1rem; /* 16px */
    margin-bottom: 14px;
    text-align: justify;
}

.post .entry ul {
    margin-bottom: 12px;
    padding-left: 25px;
    list-style-type: disc;
}

.post .entry ol {
    margin-bottom: 12px;
    padding-left: 25px;
    list-style-type: decimal;
}

.post .entry li {
    font-size: 1rem;
    margin-bottom: 6px;
    text-align: justify;
}

.post .entry img.post-thumbnail,
.post .entry .post-thumb-link img {
    float: left;
    margin: 0 18px 12px 0;
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 3px;
}

.video-embed {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    margin: 15px auto;
}

.post-featured-image-single {
    margin: 10px 0 18px 0;
    text-align: center;
}

.post-featured-image-single img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0 auto;
}

/* Crisp Comment Bubble Icon & Text */
.post .comments {
    float: right;
    margin-top: 8px;
    line-height: 18px;
    clear: right;
}

.post .comments a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.833rem; /* 13.33px */
    color: #556b82;
    text-decoration: none;
    font-weight: 500;
}

.post .comments a::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 14px;
    background: url('images/comment_bubble_icon.png') no-repeat center center;
    background-size: contain;
    flex-shrink: 0;
}

.post .comments a:hover {
    color: #112233;
}

/* Pagination */
.wp-pagenavi, .pagination, .navigation.pagination {
    font-size: 0.833rem;
    margin: 22px 0;
    clear: both;
}

.wp-pagenavi a, .wp-pagenavi a:link, .pagination .page-numbers {
    padding: 4px 10px;
    margin: 2px;
    text-decoration: none;
    border: 1px solid #06c;
    color: #06c;
    background-color: #fff;
    display: inline-block;
    border-radius: 2px;
}

.wp-pagenavi a:visited {
    border: 1px solid #06c;
    color: #06c;
}

.wp-pagenavi a:hover, .pagination .page-numbers:hover {
    border: 1px solid #000;
    color: #000;
    background-color: #fff;
}

.wp-pagenavi a:active {
    border: 1px solid #06c;
    color: #06c;
}

.wp-pagenavi span.pages {
    padding: 4px 10px;
    margin: 2px;
    color: #000;
    border: 1px solid #000;
    background-color: #fff;
    display: inline-block;
}

.wp-pagenavi span.current, .pagination .page-numbers.current {
    padding: 4px 10px;
    margin: 2px;
    font-weight: bold;
    border: 1px solid #000;
    color: #000;
    background-color: #fff;
    display: inline-block;
}

.wp-pagenavi span.extend, .pagination .page-numbers.dots {
    padding: 4px 10px;
    margin: 2px;
    border: 1px solid #000;
    color: #000;
    background-color: #fff;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   5. SINGLE POST & COMMENTS
   -------------------------------------------------------------------------- */
#articlepage .post {
    border: 0;
    margin: 0 0 20px;
    padding: 0;
}

#articlepage .post h1,
.single .post h1 {
    font-size: 2.488rem; /* 39.81px */
}

#articlepage .postmetadata,
.postmetadata {
    font-size: 0.833rem; /* 13.33px */
    border-top: 2px dotted #90b2d5;
    border-bottom: 2px dotted #90b2d5;
    background: #fafbfd;
    padding: 12px;
    margin: 18px 0;
    color: #555;
    border-radius: 3px;
    line-height: 1.5;
}

#articlepage h3, .comments-title {
    font-size: 1.44rem; /* 23.04px */
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 20px 0 12px 0;
}

.navigation.post-navigation {
    overflow: hidden;
    margin-bottom: 15px;
    font-size: 0.833rem;
}

.alignleft {
    float: left;
    width: 48%;
}

.alignright {
    float: right;
    width: 48%;
    text-align: right;
}

div.comment-number {
    left: -20px;
    top: 20px;
    float: left;
    position: relative;
    font-weight: bold;
    color: #90b2d5;
    font-size: 1rem;
}

.commentlist {
    margin-bottom: 20px;
    margin-left: 10px;
    list-style: none;
    padding: 0;
}

.commentlist li {
    background: #fafbfd;
    font-size: 1rem; /* 16px */
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #eef3f8;
    border-radius: 4px;
}

.commentlist li.alt {
    background: #eef3f8;
}

li.staffcomment, li.bypostauthor {
    border: 1px solid #90b2d5 !important;
}

.comment-author img.avatar {
    float: right;
    margin: 0 0 5px 10px;
    border: 0;
    border-radius: 3px;
}

.commentmetadata, .comment-meta {
    font-size: 0.694rem; /* 11.1px */
    color: #999;
    margin-bottom: 8px;
}

/* Comment Form */
#commentform {
    margin-top: 20px;
}

#commentform p {
    background: #fafbfd;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 3px;
}

#author, #email, #url {
    border: 1px solid #aedbef;
    width: 250px;
    padding: 8px 10px;
    background: #fff;
    border-radius: 3px;
    font-size: 0.833rem;
}

#comment {
    border: 1px solid #aedbef;
    width: 100%;
    height: 120px;
    padding: 10px;
    background: #fff;
    border-radius: 3px;
    font-size: 1rem;
}

#submit {
    background: #f2f6fc;
    border: 1px solid #90b2d5;
    font-size: 0.833rem;
    cursor: pointer;
    padding: 8px 18px;
    font-weight: bold;
    color: #333;
    border-radius: 3px;
    transition: background 0.15s ease;
}

#submit:hover {
    background: #c7daf0;
}

/* --------------------------------------------------------------------------
   6. SIDEBAR STYLING & PIXEL-CALIBRATED WHITE TRIANGLE NOTCH CUTOUT
   -------------------------------------------------------------------------- */
#sidebar .widget,
#sidebar-verde .widget {
    margin-bottom: 22px;
}

/* Title pulling flush to the left border with signature white triangle notch */
#sidebar h3, #sidebar label, #sidebar .widgettitle,
#sidebar-verde h3, #sidebar-verde label, #sidebar-verde .widgettitle {
    display: block;
    font-family: "lucida sans unicode", "lucida sans", "lucida grande", sans-serif;
    font-size: 1.44rem; /* 23.04px */
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0 0 14px -20px;
    padding-left: 24px;
    color: #2c2a4a;
    position: relative;
    line-height: 1.3;
}

/* Crisp pure white wedge cutting into the blue background from the white gap */
#sidebar h3::before, #sidebar label::before, #sidebar .widgettitle::before,
#sidebar-verde h3::before, #sidebar-verde label::before, #sidebar-verde .widgettitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #ffffff; /* PURE WHITE triangle notch cutting into the blue column */
}

#sidebar ul,
#sidebar-verde ul {
    margin: 0 0 15px 0;
    font-size: 0.833rem; /* 13.33px */
    padding: 0;
}

#sidebar ul li,
#sidebar-verde ul li {
    padding: 5px 0;
    line-height: 1.45;
    border-bottom: 1px dotted rgba(144, 178, 213, 0.4);
}

#sidebar ul li:last-child,
#sidebar-verde ul li:last-child {
    border-bottom: none;
}

#sidebar a,
#sidebar-verde a {
    color: #4d6680;
}

#sidebar a:hover,
#sidebar-verde a:hover {
    color: #000;
}

/* Search Box Alignment */
#search {
    background: #ffffff;
    border: 1px solid #c9d8e8;
    border-radius: 4px;
    margin-bottom: 15px;
    padding: 4px 8px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

#search .text {
    border: 0;
    width: calc(100% - 65px);
    background: transparent;
    font-size: 0.833rem;
    color: #2c2a4a;
    outline: none;
    padding: 4px 0;
}

#search .button,
#search input[type="submit"] {
    background: #81a1c1;
    border: 0;
    color: #fff;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.833rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.15s ease;
}

#search .button:hover,
#search input[type="submit"]:hover {
    background: #627b99;
}

#searchform {
    text-align: left;
}

/* --------------------------------------------------------------------------
   7. MODULAR FOOTER & HARD-RIGHT COPYRIGHT ALIGNMENT
   -------------------------------------------------------------------------- */
#footer-widgets,
.footer-widgets {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    clear: both;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#footer-widgets .content {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 260px;
    text-align: left;
}

.footer-col h3, .footer-col .widgettitle {
    font-size: 1.2rem; /* 19.2px */
    font-weight: bold;
    color: #2c2a4a;
    margin-bottom: 12px;
    border-bottom: 1px solid #d5e1ee;
    padding-bottom: 6px;
}

.footer-col ul {
    font-size: 0.833rem;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col a {
    color: #627b99;
}

.footer-col a:hover {
    color: #000;
}

/* Hard-Right & Left Copyright Alignment */
#copyright {
    font-size: 0.833rem; /* 13.33px */
    color: #9a9fba;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 4px 25px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    clear: both;
}

#copyright .left {
    text-align: left;
    padding-left: 4px;
    flex: 1 1 auto;
}

#copyright .right {
    text-align: right;
    margin-left: auto;
    padding-right: 4px;
    flex-shrink: 0;
}

#copyright a {
    color: #b5bdd8;
}

#copyright a:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS (POLISHED TABLET & MOBILE)
   -------------------------------------------------------------------------- */

/* TABLET BREAKPOINT (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    #wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
    }
    
    #container,
    .site-container {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 8px !important;
        border-top-left-radius: 0 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.12) !important;
    }
    
    .container-inner,
    .content-area {
        flex-wrap: wrap !important;
        padding: 24px 20px !important;
        gap: 16px !important;
    }
    
    #postswrap,
    .site-main {
        width: 100% !important;
        flex: 1 1 100% !important;
        padding: 0 !important;
    }
    
    /* Responsive Dual Sidebars on Tablet: side by side below content with white gap */
    #sidebar,
    .sidebar-primary {
        width: calc(50% - 8px) !important;
        flex: 1 1 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        background: #f2f6fc !important;
        border-radius: 6px !important;
        padding: 24px 20px !important;
    }
    
    #sidebar-verde,
    .sidebar-secondary {
        width: calc(50% - 8px) !important;
        flex: 1 1 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        background: #f2f6fc !important;
        margin-left: 0 !important;
        border-radius: 6px !important;
        padding: 24px 20px !important;
    }
    
    .content-area > #sidebar:last-child {
        width: 100% !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .leader {
        max-width: 50% !important;
    }
}

/* MOBILE BREAKPOINT (max-width: 768px) */
@media screen and (max-width: 768px) {
    #wrap {
        padding: 0 10px !important;
    }

    #header {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        display: block !important;
        position: static !important;
    }
    
    .header-main {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 20px 0 12px 0 !important;
        margin-bottom: 0 !important;
        gap: 6px !important;
    }
    
    #header #logo,
    #header .site-branding {
        position: static !important;
        text-align: center !important;
        align-items: center !important;
        margin: 0 0 4px 0 !important;
        padding: 0 !important;
        display: flex !important;
    }
    
    #header #logo h1,
    #header #logo .site-title {
        font-size: 1.728rem !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.15 !important;
    }
    
    #header .description,
    #header .site-description,
    #header .tagline {
        position: static !important;
        text-align: center !important;
        margin: 4px 0 10px 0 !important;
        padding: 0 !important;
        font-size: 0.833rem !important;
        color: #a4c4e8 !important;
        display: block !important;
    }
    
    .leader {
        display: none !important;
    }
    
    #nav-container {
        position: static !important;
        width: 100% !important;
        margin: 0 0 6px 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        margin: 0 0 6px 0 !important;
        padding: 10px 16px !important;
        background: #363b51 !important;
        border: 1px solid #575e7a !important;
        color: #ffffff !important;
        border-radius: 5px !important;
        font-size: 1rem !important;
        font-weight: bold !important;
        cursor: pointer !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    #nav {
        flex-direction: column !important;
        width: 100% !important;
        display: none !important;
        background: #363b51 !important;
        border-radius: 5px !important;
        padding: 6px !important;
        margin-bottom: 8px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    }
    
    #nav.menu-open {
        display: flex !important;
        visibility: visible !important;
    }
    
    #nav li {
        width: 100% !important;
        margin: 0 0 3px 0 !important;
    }
    
    #nav li a {
        width: 100% !important;
        border-radius: 4px !important;
        border: none !important;
        text-align: left !important;
        padding: 10px 14px !important;
        height: auto !important;
        line-height: 1.4 !important;
        font-size: 0.833rem !important;
    }
    
    #nav li.current-menu-item a,
    #nav li.current_page_item a,
    #nav li.active a {
        background: #ffffff !important;
        color: #2c2a4a !important;
        height: auto !important;
        line-height: 1.4 !important;
        border-radius: 4px !important;
    }
    
    #container,
    .site-container {
        width: 100% !important;
        border-radius: 8px !important;
        padding-bottom: 16px !important;
    }
    
    .container-inner,
    .content-area {
        flex-direction: column !important;
        width: 100% !important;
        padding: 18px 14px !important;
        gap: 16px !important;
    }
    
    #postswrap,
    .site-main {
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* Blue background stacked cards for sidebars on mobile */
    #sidebar,
    .sidebar-primary {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
        padding: 20px 16px !important;
        background: #f2f6fc !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    
    #sidebar-verde,
    .sidebar-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
        padding: 20px 16px !important;
        background: #f2f6fc !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    
    #sidebar h3, #sidebar label, #sidebar .widgettitle,
    #sidebar-verde h3, #sidebar-verde label, #sidebar-verde .widgettitle {
        margin: 0 0 10px -16px !important;
        padding-left: 20px !important;
    }
    
    #sidebar h3::before, #sidebar label::before, #sidebar .widgettitle::before,
    #sidebar-verde h3::before, #sidebar-verde label::before, #sidebar-verde .widgettitle::before {
        border-left: 10px solid #ffffff !important;
    }
    
    #search {
        background: #ffffff;
    }
    
    .post h1, .post h2.entry-title {
        font-size: 1.44rem !important;
    }
    
    #footer-widgets .content {
        padding: 18px 16px !important;
        gap: 15px !important;
    }
    
    .footer-col {
        flex: 1 1 100% !important;
    }
    
    #copyright {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
        padding: 10px 0 20px 0 !important;
    }
    
    #copyright .left,
    #copyright .right {
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .alignleft, .alignright {
        width: 100% !important;
        float: none !important;
        text-align: center !important;
        margin: 10px 0 !important;
    }
    
    #author, #email, #url {
        width: 100% !important;
    }
}

/* --------------------------------------------------------------------------
   9. IDE CODE BLOCKS & SYNTAX HIGHLIGHTING (VS CODE / NORD-ZORIN THEME)
   -------------------------------------------------------------------------- */
.zorin-ide-block {
    background: #19182b;
    border: 1px solid #2e2b4d;
    border-radius: 8px;
    margin: 24px 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-family: "JetBrains Mono", "Fira Code", "Source Code Pro", "Consolas", "Monaco", "Courier New", monospace;
    text-align: left;
    clear: both;
}

/* IDE Window Top Header Bar */
.zorin-ide-header {
    background: #23213d;
    border-bottom: 1px solid #2e2b4d;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

/* Window Traffic Light Control Dots (Mac Style) */
.zorin-ide-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.zorin-ide-dots span {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.zorin-ide-dots .dot-red {
    background: #ff5f56;
    border: 1px solid #e0443e;
}

.zorin-ide-dots .dot-yellow {
    background: #ffbd2e;
    border: 1px solid #dea123;
}

.zorin-ide-dots .dot-green {
    background: #27c93f;
    border: 1px solid #1aab29;
}

/* Language Badge */
.zorin-ide-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9d99c4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: "lucida sans unicode", "lucida sans", "lucida grande", Verdana, sans-serif;
}

/* Copy Button */
.zorin-ide-copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #c4c1e0;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
    font-family: "lucida sans unicode", "lucida sans", "lucida grande", Verdana, sans-serif;
}

.zorin-ide-copy-btn:hover {
    background: #ff6600;
    border-color: #ff6600;
    color: #ffffff;
}

.zorin-ide-copy-btn.copied {
    background: #27c93f;
    border-color: #27c93f;
    color: #ffffff;
}

/* IDE Body (Gutter + Code Area) */
.zorin-ide-body {
    display: flex;
    background: #19182b;
    overflow-x: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #3b3763 #19182b;
}

.zorin-ide-body::-webkit-scrollbar {
    height: 8px;
    background: #19182b;
}

.zorin-ide-body::-webkit-scrollbar-thumb {
    background: #3b3763;
    border-radius: 4px;
}

/* Line Numbers Gutter */
.zorin-ide-lines {
    padding: 16px 12px 16px 14px;
    background: #161526;
    border-right: 1px solid #282542;
    color: #5c5885;
    font-size: 0.8125rem;
    line-height: 1.6;
    text-align: right;
    user-select: none;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* Code Content Area */
.zorin-ide-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px 18px;
    overflow-x: auto;
}

.zorin-ide-content pre.zorin-code-highlight {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.zorin-ide-content code {
    font-family: "JetBrains Mono", "Fira Code", "Source Code Pro", "Consolas", "Monaco", "Courier New", monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #e2e1f0;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    tab-size: 4;
}

/* Syntax Token Highlighting Palette (IDE Harmonized with Zorin Theme) */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #6d6994;
    font-style: italic;
}

.token.punctuation {
    color: #a4a0c8;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #ff7b72;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #7ee787;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #79c0ff;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #ff6600;
    font-weight: 600;
}

.token.function,
.token.class-name {
    color: #d2a8ff;
}

.token.regex,
.token.important,
.token.variable {
    color: #ffa657;
}

.token.important,
.token.bold {
    font-weight: bold;
}

.token.italic {
    font-style: italic;
}

/* Fallback / Inline Code snippet styling */
p code, li code, td code, .entry code:not(.zorin-code-highlight code) {
    background: #f2f6fc;
    color: #ff6600;
    border: 1px solid #dce6f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
    font-size: 0.875em;
}

/* --------------------------------------------------------------------------
   9. IDE CODE BLOCKS & SYNTAX HIGHLIGHTING (VS CODE / NORD-ZORIN THEME)
   -------------------------------------------------------------------------- */
.zorin-ide-block {
    background: #19182b !important;
    border: 1px solid #2e2b4d !important;
    border-radius: 8px !important;
    margin: 24px 0 !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    font-family: "JetBrains Mono", "Fira Code", "Source Code Pro", "Consolas", "Monaco", "Courier New", monospace !important;
    text-align: left !important;
    clear: both !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* IDE Window Top Header Bar */
.zorin-ide-header {
    background: #23213d !important;
    border-bottom: 1px solid #2e2b4d !important;
    padding: 8px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    user-select: none !important;
    box-sizing: border-box !important;
    min-height: 38px !important;
}

/* Window Traffic Light Control Dots (Mac Style) */
.zorin-ide-dots {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.zorin-ide-dots span {
    display: inline-block !important;
    width: 11px !important;
    height: 11px !important;
    border-radius: 50% !important;
}

.zorin-ide-dots .dot-red {
    background: #ff5f56 !important;
    border: 1px solid #e0443e !important;
}

.zorin-ide-dots .dot-yellow {
    background: #ffbd2e !important;
    border: 1px solid #dea123 !important;
}

.zorin-ide-dots .dot-green {
    background: #27c93f !important;
    border: 1px solid #1aab29 !important;
}

/* Language Badge */
.zorin-ide-title {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #9d99c4 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    font-family: "lucida sans unicode", "lucida sans", "lucida grande", Verdana, sans-serif !important;
}

/* Copy Button */
.zorin-ide-copy-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #c4c1e0 !important;
    border-radius: 4px !important;
    padding: 3px 10px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.15s ease !important;
    font-family: "lucida sans unicode", "lucida sans", "lucida grande", Verdana, sans-serif !important;
    line-height: 1.4 !important;
}

.zorin-ide-copy-btn:hover {
    background: #ff6600 !important;
    border-color: #ff6600 !important;
    color: #ffffff !important;
}

.zorin-ide-copy-btn.copied {
    background: #27c93f !important;
    border-color: #27c93f !important;
    color: #ffffff !important;
}

/* IDE Body (Gutter + Code Area) */
.zorin-ide-body {
    display: flex !important;
    background: #19182b !important;
    overflow-x: auto !important;
    position: relative !important;
    scrollbar-width: thin;
    scrollbar-color: #3b3763 #19182b;
    box-sizing: border-box !important;
}

.zorin-ide-body::-webkit-scrollbar {
    height: 8px;
    background: #19182b;
}

.zorin-ide-body::-webkit-scrollbar-thumb {
    background: #3b3763;
    border-radius: 4px;
}

/* Line Numbers Gutter */
.zorin-ide-lines {
    padding: 16px 12px 16px 14px !important;
    background: #161526 !important;
    border-right: 1px solid #282542 !important;
    color: #5c5885 !important;
    font-size: 0.8125rem !important;
    line-height: 1.6 !important;
    text-align: right !important;
    user-select: none !important;
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0 !important;
    font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace !important;
}

.zorin-ide-lines span {
    display: block !important;
    height: 1.6em !important;
    line-height: 1.6em !important;
}

/* Code Content Area */
.zorin-ide-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 16px 18px !important;
    overflow-x: auto !important;
    box-sizing: border-box !important;
}

.zorin-ide-content pre.zorin-code-highlight,
.zorin-ide-block pre {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.zorin-ide-content code,
.zorin-ide-block code {
    font-family: "JetBrains Mono", "Fira Code", "Source Code Pro", "Consolas", "Monaco", "Courier New", monospace !important;
    font-size: 0.875rem !important; /* 14px */
    line-height: 1.6 !important;
    color: #e2e1f0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    white-space: pre !important;
    word-spacing: normal !important;
    word-break: normal !important;
    tab-size: 4 !important;
    display: block !important;
}

/* Syntax Token Highlighting Palette (IDE Harmonized with Zorin Theme) */
.zorin-ide-block .token.comment,
.zorin-ide-block .token.prolog,
.zorin-ide-block .token.doctype,
.zorin-ide-block .token.cdata {
    color: #6d6994 !important;
    font-style: italic !important;
}

.zorin-ide-block .token.punctuation {
    color: #a4a0c8 !important;
}

.zorin-ide-block .token.property,
.zorin-ide-block .token.tag,
.zorin-ide-block .token.boolean,
.zorin-ide-block .token.number,
.zorin-ide-block .token.constant,
.zorin-ide-block .token.symbol,
.zorin-ide-block .token.deleted {
    color: #ff7b72 !important;
}

.zorin-ide-block .token.selector,
.zorin-ide-block .token.attr-name,
.zorin-ide-block .token.string,
.zorin-ide-block .token.char,
.zorin-ide-block .token.builtin,
.zorin-ide-block .token.inserted {
    color: #7ee787 !important; /* Mint green strings */
}

.zorin-ide-block .token.operator,
.zorin-ide-block .token.entity,
.zorin-ide-block .token.url,
.zorin-ide-block .language-css .token.string,
.zorin-ide-block .style .token.string {
    color: #79c0ff !important;
}

.zorin-ide-block .token.atrule,
.zorin-ide-block .token.attr-value,
.zorin-ide-block .token.keyword {
    color: #ff6600 !important; /* Zorin signature orange */
    font-weight: 600 !important;
}

.zorin-ide-block .token.function,
.zorin-ide-block .token.class-name,
.zorin-ide-block .token.package {
    color: #d2a8ff !important; /* Soft lavender for functions / classes */
}

.zorin-ide-block .token.regex,
.zorin-ide-block .token.important,
.zorin-ide-block .token.variable {
    color: #ffa657 !important; /* Light amber for variables */
}

/* Fallback / Inline Code snippet styling */
p code, li code, td code, .entry code:not(.zorin-ide-block code) {
    background: #f2f6fc;
    color: #ff6600;
    border: 1px solid #dce6f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
    font-size: 0.875em;
}

/* Collapsible 5-line IDE Window Styles */
.zorin-ide-block.is-collapsed .zorin-ide-body {
    max-height: 145px !important; /* Exactly ~5 lines of code */
    overflow: hidden !important;
    position: relative !important;
}

.zorin-ide-block.is-collapsed .zorin-ide-body::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: linear-gradient(to bottom, rgba(25, 24, 43, 0) 0%, rgba(25, 24, 43, 0.95) 85%, #19182b 100%) !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

.zorin-ide-block.is-expanded .zorin-ide-body {
    max-height: none !important;
}

.zorin-ide-block.is-expanded .zorin-ide-body::after {
    display: none !important;
}

/* Expand / Collapse Footer Bar */
.zorin-ide-expand-bar {
    background: #201e38 !important;
    border-top: 1px solid #2e2b4d !important;
    padding: 7px 14px !important;
    text-align: center !important;
    user-select: none !important;
    box-sizing: border-box !important;
}

.zorin-ide-expand-btn {
    background: transparent !important;
    border: none !important;
    color: #a4c4e8 !important;
    font-size: 0.8125rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    transition: all 0.15s ease !important;
    font-family: "lucida sans unicode", "lucida sans", "lucida grande", Verdana, sans-serif !important;
}

.zorin-ide-expand-btn:hover {
    color: #ffffff !important;
    background: #ff6600 !important;
}
