/*
 * Bootstrap 5 for HTMLy — custom.css
 * Streamlined & Refactored for Bootstrap 5.3.8 Native Standards.
 */

/* =====================================================================
   1. COLOR PALETTES (Light & Dark Compatible)
   ===================================================================== */

/* Default: Occasio Classic Navy */
[data-theme-color="default"] {
    --header-bg: #2a4861;
    --footer-bg: #2a4861;
    --primary-color: #2a4861;
    --primary-hover: #8fbee0;
    --badge-bg: #cfd8ea;
    --body-bg-light: #f4f5f7;
    --bs-primary: #2a4861;
    --bs-primary-rgb: 42, 72, 97;
}

/* Soft Blue: 清爽淡雅水藍 */
[data-theme-color="soft_blue"] {
    --header-bg: #0284c7;
    --footer-bg: #0284c7;
    --primary-color: #0284c7;
    --primary-hover: #74ceff;
    --badge-bg: #e0f2fe;
    --body-bg-light: #f0f9ff;
    --bs-primary: #0284c7;
    --bs-primary-rgb: 2, 132, 199;
}

/* Tech Silver: 科技鈦銀 (LifeChain Cyber Cyan & Metallic Space Silver) */
[data-theme-color="tech_silver"] {
    --header-bg: linear-gradient(135deg, #0a0e16 0%, #1e293b 60%, #0f172a 100%);
    --footer-bg: linear-gradient(135deg, #0a0e16 0%, #1e293b 100%);
    --primary-color: #00d2ff;
    --primary-hover: #8efcfa;
    --badge-bg: rgba(0, 210, 255, 0.15);
    --body-bg-light: #f1f5f9;
    --bs-primary: #00d2ff;
    --bs-primary-rgb: 0, 210, 255;
}

[data-theme-color="tech_silver"] .entry-categories a {
    color: #00d2ff !important;
    background-color: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

[data-theme-color="tech_silver"] .btn-theme-primary {
    background-color: #00d2ff;
    color: #0a0e16;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.35);
}

[data-theme-color="tech_silver"] .btn-theme-primary:hover {
    background-color: #00bce6;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 210, 255, 0.55);
}

/* Japanese Brown: 日系淡棕 */
[data-theme-color="japanese_brown"] {
    --header-bg: #a85e17;
    --footer-bg: #a85e17;
    --primary-color: #a85e17;
    --primary-hover: #ff9274;
    --badge-bg: #e8ded0;
    --body-bg-light: #f8f6f3;
    --bs-primary: #a85e17;
    --bs-primary-rgb: 124, 99, 84;
}

/* Korean Pink: 韓系檳粉 */
[data-theme-color="korean_pink"] {
    --header-bg: #88304e;
    --footer-bg: #88304e;
    --primary-color: #c86b85;
    --primary-hover: #fdc0d1;
    --badge-bg: #f4dae1;
    --body-bg-light: #faf2f4;
    --bs-primary: #c86b85;
    --bs-primary-rgb: 200, 107, 133;
}

/* Forest Green: 森林深綠 */
[data-theme-color="forest_green"] {
    --header-bg: #274436;
    --footer-bg: #274436;
    --primary-color: #3d6b56;
    --primary-hover: #4de8a2;
    --badge-bg: #ddf5e9;
    --body-bg-light: #f1f7f4;
    --bs-primary: #3d6b56;
    --bs-primary-rgb: 61, 107, 86;
}

/* Slate Purple: 典雅紫灰 */
[data-theme-color="slate_purple"] {
    --header-bg: #433660;
    --footer-bg: #433660;
    --primary-color: #6b5b95;
    --primary-hover: #b19de4;
    --badge-bg: #d5cce7;
    --body-bg-light: #f5f3f9;
    --bs-primary: #6b5b95;
    --bs-primary-rgb: 107, 91, 149;
}

/* Special Futuristic Cyber Accents for Tech Silver in Dark Mode */
[data-theme-color="tech_silver"][data-bs-theme="dark"] {
    --body-bg-light: #0b1120;
    --badge-bg: rgba(6, 182, 212, 0.15);
    --primary-color: #cbe9ed;
    --primary-hover: #ffffff;
}

/* =====================================================================
   2. BODY & GLOBAL BASE STYLING
   ===================================================================== */
[data-bs-theme="light"] body {
    background-color: var(--body-bg-light);
}

:root {
    --rail-bar-width: 60px;
    --sidebar-dock-width: 320px;
}

* {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'LXGW WenKai TC', 'Noto Sans TC', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth !important;
}

/* =====================================================================
   3. TOPBAR HEADER NAV SYSTEM
   ===================================================================== */
.site-navbar {
    background: var(--header-bg) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.3s ease;
    z-index: 1040 !important;
    font-family: 'LXGW WenKai TC', 'Noto Sans TC';
}

.site-navbar .navbar-brand {
    color: #ffffff !important;
}

.site-navbar .site-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.site-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--bs-border-radius);
    transition: all 0.2s ease-in-out;
    font-size: 0.9375rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-item.active>.nav-link,
.site-navbar .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
}

.site-navbar .site-title {
    white-space: nowrap !important;
    line-height: 1.3rem;
    margin-bottom: -5px;
}

.site-navbar .site-tagline {
    white-space: nowrap !important;
    font-size: 50% !important;
}

/* =====================================================================
   4. SIDEBAR DOCK & RAIL BAR SYSTEM
   ===================================================================== */
.sidebar-dock {
    position: relative;
    z-index: 1020;
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color);
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), min-width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* Right Sidebar Position */
.sidebar-pos-right #page-canvas {
    order: 1;
}

.sidebar-pos-right .sidebar-dock {
    order: 2;
    border-left: none;
    box-shadow: -6px 0 18px rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] .sidebar-pos-right .sidebar-dock {
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.25);
}

.sidebar-pos-right .sidebar-dock-header {
    justify-content: flex-end;
}

/* Left Sidebar Position */
.sidebar-pos-left #page-canvas {
    order: 2;
}

.sidebar-pos-left .sidebar-dock {
    order: 1;
    border-right: none;
    box-shadow: 6px 0 18px rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] .sidebar-pos-left .sidebar-dock {
    box-shadow: 6px 0 20px rgba(0, 0, 0, 0.25);
}

.sidebar-pos-left .sidebar-dock-header {
    justify-content: flex-start;
}

/* Collapsed vs Expanded Sidebar Dock Widths */
.sidebar-collapsed .sidebar-dock {
    width: var(--rail-bar-width);
    min-width: var(--rail-bar-width);
}

.sidebar-expanded .sidebar-dock {
    width: var(--sidebar-dock-width);
    min-width: var(--sidebar-dock-width);
}

.page-canvas {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--bs-body-bg);
}

/* Dock Top Header & Toggle Button */
.sidebar-dock-header {
    height: 56px;
    min-height: 56px;
    padding: 0 0.5rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.sidebar-toggle-btn {
    width: 42px;
    height: 42px;
    color: var(--bs-body-color);
    background: transparent;
    border: none;
    border-radius: var(--bs-border-radius);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-toggle-btn:hover {
    background-color: var(--bs-tertiary-bg);
    color: var(--primary-color);
}

.sidebar-collapsed .icon-open {
    display: flex !important;
}

.sidebar-collapsed .icon-close {
    display: none !important;
}

.sidebar-expanded .icon-open {
    display: none !important;
}

.sidebar-expanded .icon-close {
    display: flex !important;
}

.mini-rail-logo {
    max-width: 38px;
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

/* Rail Strip vs Expanded Content visibility */
.sidebar-rail-icons {
    display: block;
    width: 100%;
}

.sidebar-collapsed .sidebar-rail-icons {
    display: block;
}

.sidebar-expanded .sidebar-rail-icons {
    display: none;
}

.sidebar-dock-content {
    display: none;
    width: var(--sidebar-dock-width);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-expanded .sidebar-dock-content {
    display: block;
}

/* Integrated Theme Color Branding Header (when nav_style === 'sidebar') - Full Width Dock Design */
.sidebar-brand-nav-block {
    background: var(--header-bg) !important;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* Sidebar Position Alignment for Integrated Theme Color Branding Header */

/* Right Sidebar Position: Brand/Logo Right-aligned, Menu Left-aligned */
.sidebar-pos-right .sidebar-brand-header,
.sidebar-pos-right .sidebar-logo-wrapper {
    text-align: right;
}

.sidebar-pos-right .sidebar-nav-wrapper,
.sidebar-pos-right .sidebar-nav-menu {
    text-align: left;
    align-items: flex-start;
}

/* Left Sidebar Position: Brand/Logo Left-aligned, Menu Right-aligned */
.sidebar-pos-left .sidebar-brand-header,
.sidebar-pos-left .sidebar-logo-wrapper {
    text-align: left;
}

.sidebar-pos-left .sidebar-nav-wrapper,
.sidebar-pos-left .sidebar-nav-menu {
    text-align: right;
    align-items: flex-end;
}

.sidebar-brand-header .site-logo {
    max-height: 96px;
    width: auto;
    object-fit: contain;
}

.border-white-15 {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Sidebar Menu Hover Style (Unified with Topbar) */
.sidebar-brand-nav-block .sidebar-nav-menu .nav-link,
.widget .sidebar-nav-menu .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.45rem 0.75rem;
    border-radius: var(--bs-border-radius);
    transition: all 0.2s ease-in-out;
    font-size: 0.925rem;
}

.sidebar-brand-nav-block .sidebar-nav-menu .nav-link:hover,
.sidebar-brand-nav-block .sidebar-nav-menu .nav-link:focus,
.sidebar-brand-nav-block .sidebar-nav-menu .nav-link.active,
.widget .sidebar-nav-menu .nav-link:hover,
.widget .sidebar-nav-menu .nav-link:focus,
.widget .sidebar-nav-menu .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
}

li a {
    text-decoration: none;
    color: var(--primary-color) !important;
}

li a:hover {
    color: var(--primary-hover) !important;
    background-color: var(--body-bg-light) !important;
    border-radius: var(--bs-border-radius);
    transition: all 0.2s ease-in-out;
}


/* =====================================================================
   5. RESPONSIVE BREAKPOINTS (Desktop vs Mobile)
   ===================================================================== */

/* Desktop PC (>= 992px) */
@media (min-width: 992px) {
    .site-navbar .site-navbar-row {
        width: auto !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
    }

    .site-navbar .navbar-brand {
        max-width: none !important;
        flex-shrink: 0 !important;
    }

    .site-navbar .brand-text-column {
        display: flex !important;
        flex-direction: column !important;
    }

    .site-navbar .site-title {
        white-space: nowrap !important;
    }

    .site-navbar .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        flex-grow: 1 !important;
        width: auto !important;
        white-space: nowrap !important;
    }

    .site-navbar .navbar-nav {
        flex-direction: row !important;
        white-space: nowrap !important;
    }

    .site-navbar .nav-link {
        white-space: nowrap !important;
    }
}

/* Mobile Screens (< 992px) */
@media (max-width: 991.98px) {
    .site-navbar .site-navbar-row {
        flex-wrap: nowrap !important;
        width: 100% !important;
        flex-grow: 1 !important;
    }

    .site-navbar .navbar-brand {
        max-width: calc(100% - 50px) !important;
        min-width: 0 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    .site-navbar .site-title {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }

    .site-navbar .navbar-toggler {
        flex-shrink: 0 !important;
    }

    .sidebar-dock {
        display: none !important;
    }

    #page-canvas {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .site-navbar .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.15);
        border-radius: var(--bs-border-radius);
        padding: 0.75rem 1rem;
        margin-top: 0.5rem;
    }
}

/* =====================================================================
   6. POST CARDS & GRID LAYOUT
   ===================================================================== */
.post-entry-card {
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: var(--bs-card-bg);
}

.post-entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-bs-theme="dark"] .post-entry-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}

.card-img-top-wrapper {
    background-color: var(--bs-tertiary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.post-card-img {
    height: auto;
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

/* ── Tuupola Lazyload States ───────────────────────────────────────────── */
/* While loading: unscaled original GIF size, centered with ~20px (1.25rem) padding */
img.lazyload:not(.lazyloaded) {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 1.25rem !important;
    /* ~20px transparent padding */
    box-sizing: border-box !important;
    opacity: 0.75;
}

/* When loaded: real image fills container width */
.post-card-img.lazyloaded {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

img.lazyloaded {
    padding: 0 !important;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.post-entry-card:hover .post-card-img.lazyloaded,
.post-entry-card:hover .post-card-img:not(.lazyload) {
    transform: scale(1.04);
}

.btn-theme-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-theme-primary:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
}

.entry-categories a {
    color: var(--primary-color);
    background-color: var(--badge-bg);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 50rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.entry-categories a:hover {
    opacity: 0.85;
}

/* =====================================================================
   7. WIDGETS & SIDEBAR COMPONENTS
   ===================================================================== */
.widget {
    background-color: var(--bs-card-bg);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: var(--bs-border-radius-lg);
    padding: 1.25rem;
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--bs-body-color);
}

.widget-nav-tabs .nav-link {
    color: var(--bs-secondary-color);
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
}

.widget-nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    background: transparent;
}

.tagcloud a {
    display: inline-block;
    vertical-align: middle;
    padding: 0.15rem 0.4rem;
    margin: 0.2rem 0.15rem;
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    border-radius: var(--bs-border-radius);
    text-decoration: none;
    transition: all 0.15s ease;
}

.tagcloud a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Collapsible Year/Month Archive Tree Styling */
ul.archivegroup {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

ul.archivegroup li.year {
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--bs-border-color-translucent);
}

ul.archivegroup .archive-year-toggle {
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
}

ul.archivegroup li.collapsed ul.month {
    display: none;
}

ul.archivegroup li.expanded ul.month {
    display: block;
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
    border-left: 2px solid var(--primary-color);
}

ul.archivegroup ul.month li.item {
    padding: 0.2rem 0;
    border-bottom: none;
    font-size: 0.825rem;
}

ul.archivegroup .count {
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
}

/* =====================================================================
   8. BOOTSTRAP 5 PAGINATION & MOBILE RWD STYLING
   ===================================================================== */
.pagination {
    margin-bottom: 0;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-link,
.pagination li a,
.pagination li span {
    color: var(--primary-color);
    border-color: var(--bs-border-color);
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    border-radius: var(--bs-border-radius);
    transition: all 0.15s ease-in-out;
}

.pagination .page-link:hover,
.pagination li a:hover {
    color: #ffffff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link,
.pagination li.active a,
.pagination li.active span {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.pagination .page-item.disabled .page-link,
.pagination li.disabled a,
.pagination li.disabled span {
    color: var(--bs-secondary-color);
    background-color: transparent;
    border-color: var(--bs-border-color);
    opacity: 0.5;
}

/* Mobile RWD Pagination: Show 3 page numbers (Active-1, Active, Active+1) + Prev & Next */
@media (max-width: 575.98px) {
    .pagination {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.15rem;
    }

    .pagination .page-link {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.8rem !important;
    }

    .pagination .page-item {
        display: none !important;
    }

    .pagination .page-item:first-child,
    .pagination .page-item:last-child,
    .pagination .page-item.active,
    .pagination .page-item.active+.page-item,
    .pagination .page-item.active+.page-item+.page-item,
    .pagination .page-item:has(+ .page-item.active),
    .pagination .page-item:has(+ .page-item + .page-item.active) {
        display: inline-block !important;
    }
}

/* =====================================================================
   9. POST & PAGE TYPOGRAPHY AND FOOTER
   ===================================================================== */
.entry-content {
    line-height: 1.75;
    font-size: 1.0625rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--bs-border-radius);
}

.entry-content iframe {
    max-width: 100%;
}

.entry-content blockquote {
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--primary-color);
    color: var(--bs-secondary-color);
    margin: 1.25rem 0;
    font-style: italic;
    background-color: var(--bs-tertiary-bg);
    border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
}

.entry-content pre {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.9rem;
}

.entry-content code {
    font-size: 0.875em;
}

.post-nav-link {
    color: var(--bs-body-color);
    text-decoration: none;
    display: block;
}

.post-nav-link:hover {
    color: var(--primary-color);
}

.breadcrumb-item a {
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--bs-body-color);
    font-weight: 500;
}

.site-footer {
    background: var(--footer-bg) !important;
    transition: background 0.3s ease;
    margin-top: 0px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.site-info {
    font-size: .75rem;
}

/* ── Responsive Post Card Grid Column Rules ───────────────────────────── */
/* Mobile (< 768px): 1 Column */
.post-wrapper.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.post-wrapper.row>.col {
    flex: 0 0 auto;
    width: 100%;
}

/* Pad / md (768px - 991px): 2 Columns */
@media (min-width: 768px) {
    .post-wrapper.row>.col {
        width: 50%;
    }
}

/* Desktop lg (992px - 1199px): With sidebar = 2 cols, Without sidebar = 3 cols */
@media (min-width: 992px) {
    .sidebar-expanded .post-wrapper.row>.col {
        width: 50%;
    }

    .sidebar-collapsed .post-wrapper.row>.col,
    .no-sidebar .post-wrapper.row>.col {
        width: 33.33333333%;
    }
}

/* Desktop xl (1200px - 1399px): With sidebar = 3 cols, Without sidebar = 4 cols */
@media (min-width: 1200px) {
    .sidebar-expanded .post-wrapper.row>.col {
        width: 33.33333333%;
    }

    .sidebar-collapsed .post-wrapper.row>.col,
    .no-sidebar .post-wrapper.row>.col {
        width: 25%;
    }
}

/* Desktop xxl (1400px - 1599px): With sidebar = 3 cols, Without sidebar = 4 cols */
@media (min-width: 1400px) {
    .sidebar-expanded .post-wrapper.row>.col {
        width: 33.33333333%;
    }

    .sidebar-collapsed .post-wrapper.row>.col,
    .no-sidebar .post-wrapper.row>.col {
        width: 25%;
    }
}

/* Ultra-Wide (>= 1600px): With sidebar = 4 cols, Without sidebar = 5 cols */
@media (min-width: 1600px) {
    .sidebar-expanded .post-wrapper.row>.col {
        width: 25%;
    }

    .sidebar-collapsed .post-wrapper.row>.col,
    .no-sidebar .post-wrapper.row>.col {
        width: 20%;
    }
}

/* Ultra-Wide (>= 1600px): With sidebar = 5 cols, Without sidebar = 6 cols */
@media (min-width: 2048px) {
    .sidebar-expanded .post-wrapper.row>.col {
        width: 20%;
    }

    .sidebar-collapsed .post-wrapper.row>.col,
    .no-sidebar .post-wrapper.row>.col {
        width: 16.66666667%;
    }
}