/*
Theme Name: Depot
Theme URI: #
Author: Theme Developer
Author URI: #
Description: Modern travel and aviation blog theme with Depot-inspired design. Clean, vibrant layout for travel content.
Version: 1.4.1
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: depot
Tags: blog, travel, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Colors */
    --depot-color-primary: #ff6600;
    --depot-color-secondary: #2b2d42;
    --depot-color-accent: #00a9e0;
    --depot-color-border: #e5e7eb;
    --depot-color-bg: #ffffff;
    --depot-color-bg-alt: #f9fafb;
    --depot-color-text: #1f2937;
    --depot-color-text-light: #6b7280;
    --depot-color-link: #ff6600;
    --depot-color-link-hover: #00a9e0;

    /* Navigation */
    --depot-color-nav-bg: #2b2d42;
    --depot-color-nav-text: #ffffff;
    --depot-color-nav-hover-bg: #ff6600;
    --depot-color-nav-hover-text: #ffffff;

    /* Footer */
    --depot-color-footer-bg: #2b2d42;
    --depot-color-footer-text: rgba(255,255,255,0.85);
    --depot-color-footer-link: rgba(255,255,255,0.85);
    --depot-color-footer-link-hover: #ff6600;

    /* Typography */
    --depot-font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --depot-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --depot-font-accent: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Sizes */
    --depot-font-size-base: 16px;
    --depot-font-size-heading: 32px;
    --depot-line-height: 1.7;
    --depot-line-height-body: 1.65;
    --depot-nav-letter-spacing: 0.05em;
    --depot-line-height-heading: 1.25;
    --depot-letter-spacing-heading: -0.02em;
    --depot-border-radius: 8px;
    --depot-content-spacing: 24px;
    --depot-content-width: 1200px;
    --depot-sidebar-width: 320px;

    /* Spacing */
    --depot-gap: 30px;
    --depot-gap-sm: 16px;
    --depot-gap-lg: 60px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: var(--depot-font-size-base);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--depot-font-body);
    font-size: 1rem;
    line-height: var(--depot-line-height, 1.7);
    color: var(--depot-color-text);
    background-color: var(--depot-color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--depot-font-heading);
    font-weight: 700;
    line-height: var(--depot-line-height-heading);
    letter-spacing: var(--depot-letter-spacing-heading);
    margin: 0 0 0.5em;
    color: var(--depot-color-secondary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 1.5em;
}

a {
    color: var(--depot-color-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--depot-color-link-hover);
}

a:focus {
    outline: 2px solid var(--depot-color-accent);
    outline-offset: 2px;
}

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

/* ==========================================================================
   Accessibility
   ========================================================================== */
.depot-sr-only {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.depot-skip-link {
    background: var(--depot-color-primary);
    color: #fff;
    padding: 12px 24px;
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 9999;
    transition: top 0.3s;
    font-weight: 600;
    border-radius: 0 0 var(--depot-border-radius) 0;
}

.depot-skip-link:focus {
    top: 0;
    outline: none;
    color: #fff;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.depot-container {
    max-width: var(--depot-content-width);
    margin: 0 auto;
    padding: 0 var(--depot-gap);
}

.depot-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--depot-gap);
}

main.depot-main {
    display: block;
}

/* Legacy aside class - sidebar uses .depot-sidebar now */

/* ==========================================================================
   Header
   ========================================================================== */
.depot-header {
    background: var(--depot-color-bg);
    border-bottom: 1px solid var(--depot-color-border);
    position: relative;
}

.depot-header-top {
    background: linear-gradient(135deg, var(--depot-color-primary) 0%, #ff8533 100%);
    padding: 12px 0;
}

.depot-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 0.875rem;
}

.depot-header-main {
    padding: var(--depot-gap) 0;
}

.depot-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--depot-gap-sm);
}

.depot-brand {
    display: flex;
    align-items: center;
    gap: var(--depot-gap-sm);
}

.depot-logo {
    display: flex;
    align-items: center;
}

.depot-logo img,
.depot-logo .custom-logo,
.depot-brand img,
.custom-logo-link img {
    max-height: 50px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.depot-site-title {
    font-family: var(--depot-font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.depot-site-title a {
    color: var(--depot-color-secondary);
    transition: color 0.2s;
}

.depot-site-title a:hover {
    color: var(--depot-color-primary);
}

.depot-site-tagline {
    font-family: var(--depot-font-ui);
    font-size: 0.875rem;
    color: var(--depot-color-text-light);
    margin: 4px 0 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.depot-nav-primary {
    background: var(--depot-color-nav-bg);
}

.depot-nav-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.depot-nav-menu li {
    position: relative;
}

.depot-nav-menu a {
    display: block;
    padding: 14px 20px;
    color: var(--depot-color-nav-text);
    font-family: var(--depot-font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.depot-nav-menu a:hover,
.depot-nav-menu a:focus,
.depot-nav-menu .current-menu-item > a {
    background: var(--depot-color-nav-hover-bg);
    color: var(--depot-color-nav-hover-text);
}

/* Navigation in light header - dark text on desktop */
@media (min-width: 769px) {
    .depot-nav-close,
    .depot-nav-overlay {
        display: none !important;
    }

    .depot-header .depot-nav-menu a {
        color: var(--depot-color-text);
    }

    .depot-header .depot-nav-menu a:hover,
    .depot-header .depot-nav-menu a:focus,
    .depot-header .depot-nav-menu .current-menu-item > a {
        background: var(--depot-color-nav-hover-bg);
        color: var(--depot-color-nav-hover-text);
    }
}

/* Mobile menu toggle */
.depot-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--depot-color-primary);
    border: none;
    border-radius: var(--depot-border-radius);
    cursor: pointer;
    padding: 10px;
}

.depot-menu-toggle:hover {
    background: var(--depot-color-accent);
}

.depot-menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Hamburger animation when menu is open */
.depot-menu-active .depot-menu-toggle .depot-menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.depot-menu-active .depot-menu-toggle .depot-menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.depot-menu-active .depot-menu-toggle .depot-menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Navigation wrapper */
.depot-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Header actions */
.depot-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search toggle button */
.depot-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--depot-color-text);
    cursor: pointer;
    transition: color 0.2s;
}

.depot-search-toggle:hover {
    color: var(--depot-color-primary);
}

/* Search overlay - hidden by default */
.depot-search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--depot-color-bg);
    border-bottom: 1px solid var(--depot-color-border);
    padding: var(--depot-gap);
    z-index: 1000;
    display: none;
}

.depot-search-overlay.active,
.depot-search-overlay.depot-search-open {
    display: block;
}

.depot-search-overlay .depot-search-form {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.depot-search-overlay .depot-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--depot-color-border);
    border-radius: var(--depot-border-radius);
    font-size: 1rem;
}

.depot-search-overlay .depot-search-submit {
    padding: 12px 24px;
    background: var(--depot-color-primary);
    color: #fff;
    border: none;
    border-radius: var(--depot-border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.depot-search-overlay .depot-search-submit:hover {
    background: var(--depot-color-accent);
}

.depot-search-overlay .depot-search-close {
    padding: 12px 16px;
    background: transparent;
    border: 1px solid var(--depot-color-border);
    border-radius: var(--depot-border-radius);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s;
}

.depot-search-overlay .depot-search-close:hover {
    background: var(--depot-color-bg-alt);
}

/* ==========================================================================
   Layout Wrapper (content + sidebar)
   ========================================================================== */
.depot-layout {
    display: flex;
    flex-wrap: wrap;
    gap: var(--depot-gap);
}

.depot-layout > .depot-content {
    flex: 1;
    min-width: 0;
}

.depot-layout > .depot-sidebar {
    width: var(--depot-sidebar-width);
    flex-shrink: 0;
}

.depot-layout.left-sidebar {
    flex-direction: row-reverse;
}

.depot-layout.no-sidebar > .depot-content {
    flex: 1;
    max-width: 100%;
}

.depot-layout.no-sidebar > .depot-sidebar {
    display: none;
}

/* ==========================================================================
   Content
   ========================================================================== */
.depot-content {
    padding: var(--depot-gap-lg) 0;
}

/* Single article */
.depot-article {
    margin-bottom: var(--depot-gap-lg);
}

.depot-article-header {
    margin-bottom: var(--depot-gap);
}

.depot-article-title {
    font-size: var(--depot-font-size-heading);
    line-height: var(--depot-line-height-heading);
    margin-bottom: 0.5em;
    color: var(--depot-color-secondary);
}

.depot-article-meta {
    font-family: var(--depot-font-ui);
    font-size: 0.875rem;
    color: var(--depot-color-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.depot-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.depot-article-meta a {
    color: var(--depot-color-text-light);
}

.depot-article-meta a:hover {
    color: var(--depot-color-primary);
}

.depot-article-excerpt {
    font-size: 1.125rem;
    color: var(--depot-color-text-light);
    border-left: 4px solid var(--depot-color-primary);
    padding-left: var(--depot-gap);
    margin: var(--depot-gap) 0;
    font-style: italic;
}

.depot-article-thumbnail {
    margin: var(--depot-gap) 0;
    border-radius: var(--depot-border-radius);
    overflow: hidden;
}

.depot-article-thumbnail img {
    width: 100%;
    border-radius: var(--depot-border-radius);
}

.depot-article-content {
    font-size: 1.0625rem;
    line-height: 1.75;
}

.depot-article-content h2,
.depot-article-content h3,
.depot-article-content h4 {
    margin-top: 2em;
}

.depot-article-content a {
    border-bottom: 1px solid var(--depot-color-primary);
}

.depot-article-content a:hover {
    border-bottom-color: var(--depot-color-accent);
}

.depot-article-footer {
    margin-top: var(--depot-gap);
    padding-top: var(--depot-gap);
    border-top: 1px solid var(--depot-color-border);
}

.depot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.depot-tags a {
    display: inline-block;
    background: var(--depot-color-bg-alt);
    color: var(--depot-color-text-light);
    padding: 6px 12px;
    border-radius: var(--depot-border-radius);
    font-size: 0.875rem;
    border: none;
}

.depot-tags a:hover {
    background: var(--depot-color-primary);
    color: #fff;
}

/* Breadcrumbs */
.depot-breadcrumbs {
    font-family: var(--depot-font-ui);
    font-size: 0.875rem;
    color: var(--depot-color-text-light);
    margin-bottom: var(--depot-gap);
    padding: var(--depot-gap-sm) 0;
    border-bottom: 1px solid var(--depot-color-border);
}

.depot-breadcrumbs a {
    color: var(--depot-color-text-light);
}

.depot-breadcrumbs a:hover {
    color: var(--depot-color-primary);
}

.depot-breadcrumbs-sep {
    margin: 0 10px;
    color: var(--depot-color-border);
}

/* Reading time */
.depot-reading-time {
    background: var(--depot-color-bg-alt);
    padding: 4px 10px;
    border-radius: var(--depot-border-radius);
    font-size: 0.8rem;
}

/* ==========================================================================
   Archive / Cards
   ========================================================================== */
.depot-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--depot-gap);
}

/* Grid Layout Options */
.depot-articles-grid { display: grid; gap: var(--depot-gap); grid-template-columns: repeat(3, 1fr); }
.depot-articles-grid.grid-3col { grid-template-columns: repeat(3, 1fr); }
.depot-articles-grid.grid-2col { grid-template-columns: repeat(2, 1fr); }
.depot-articles-grid.grid-list { grid-template-columns: 1fr; }
.depot-articles-grid.grid-list .depot-card { display: flex; flex-direction: row; }
.depot-articles-grid.grid-list .depot-card-thumbnail { flex: 0 0 300px; aspect-ratio: 16/10; }
.depot-articles-grid.grid-list .depot-card-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.depot-card {
    background: var(--depot-color-bg);
    border: 1px solid var(--depot-color-border);
    border-radius: var(--depot-border-radius);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.depot-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.depot-card-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: depot-skeleton 1.5s ease-in-out infinite;
}

@keyframes depot-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.depot-card-thumbnail img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.depot-card:hover .depot-card-thumbnail img {
    transform: scale(1.05);
}

.depot-card-content {
    padding: var(--depot-gap);
}

.depot-card-category {
    font-family: var(--depot-font-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 10px;
}

.depot-card-category a {
    display: inline-block;
    background: var(--depot-color-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
}

.depot-card-category a:hover {
    background: var(--depot-color-accent);
    color: #fff;
}

.depot-card-title {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.depot-card-title a {
    color: var(--depot-color-secondary);
}

.depot-card-title a:hover {
    color: var(--depot-color-primary);
}

.depot-card-excerpt {
    font-size: 0.9375rem;
    color: var(--depot-color-text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.depot-read-more {
    display: inline-block;
    font-family: var(--depot-font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--depot-color-primary);
    margin-top: 8px;
}

.depot-read-more:hover {
    color: var(--depot-color-accent);
}

.depot-card-meta {
    font-family: var(--depot-font-ui);
    font-size: 0.8rem;
    color: var(--depot-color-text-light);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Featured post section (homepage hero) */
.depot-featured-section {
    margin-bottom: var(--depot-gap-lg);
}

.depot-featured-article {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #fff;
    border-radius: var(--depot-border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.depot-featured-thumb {
    display: block;
    position: relative;
    overflow: hidden;
}

.depot-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
    transition: transform 0.3s ease;
}

.depot-featured-article:hover .depot-featured-thumb img {
    transform: scale(1.03);
}

.depot-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--depot-gap-lg);
}

.depot-featured-category {
    display: inline-block;
    background: var(--depot-color-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 12px;
    align-self: flex-start;
}

.depot-featured-category:hover {
    background: var(--depot-color-accent);
    color: #fff;
}

.depot-sticky-badge {
    display: inline-block;
    background: var(--depot-color-secondary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    align-self: flex-start;
}

.depot-card-thumbnail .depot-sticky-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    margin-bottom: 0;
}

.depot-featured-title {
    font-family: var(--depot-font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
}

.depot-featured-title a {
    color: var(--depot-color-secondary);
    text-decoration: none;
}

.depot-featured-title a:hover {
    color: var(--depot-color-primary);
}

.depot-featured-excerpt {
    font-size: 1rem;
    color: var(--depot-color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.depot-featured-excerpt p {
    margin: 0;
}

.depot-featured-meta {
    font-family: var(--depot-font-ui);
    font-size: 0.85rem;
    color: var(--depot-color-text-light);
    display: flex;
    gap: 16px;
}

/* Featured responsive */
@media (max-width: 768px) {
    .depot-featured-article {
        grid-template-columns: 1fr;
    }

    .depot-featured-thumb img {
        min-height: 200px;
        max-height: 250px;
    }

    .depot-featured-content {
        padding: var(--depot-gap);
    }

    .depot-featured-title {
        font-size: 1.35rem;
    }
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.depot-pagination,
.navigation.pagination {
    margin-top: var(--depot-gap-lg);
    font-family: var(--depot-font-ui);
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.depot-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.depot-pagination a,
.depot-pagination span,
.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--depot-color-border);
    color: var(--depot-color-text);
    border-radius: var(--depot-border-radius);
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.depot-pagination a:hover,
.navigation.pagination .nav-links a:hover {
    background: var(--depot-color-primary);
    border-color: var(--depot-color-primary);
    color: #fff;
}

.depot-pagination .current,
.navigation.pagination .nav-links .current {
    background: var(--depot-color-primary);
    border-color: var(--depot-color-primary);
    color: #fff;
}

.navigation.pagination .nav-links .dots {
    border: none;
    background: none;
}

.navigation.pagination .screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ==========================================================================
   Post Navigation (Prev/Next)
   ========================================================================== */
.depot-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--depot-gap);
    margin-top: var(--depot-gap-lg);
    padding-top: var(--depot-gap);
    border-top: 1px solid var(--depot-color-border);
}

.depot-post-nav-link,
.depot-post-nav-prev,
.depot-post-nav-next {
    font-family: var(--depot-font-ui);
    text-decoration: none;
    display: block;
    padding: var(--depot-gap-sm);
    border: 1px solid var(--depot-color-border);
    border-radius: var(--depot-border-radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.depot-post-nav-prev:hover,
.depot-post-nav-next:hover {
    border-color: var(--depot-color-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.depot-post-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--depot-color-text-light);
    margin-bottom: 6px;
}

.depot-post-nav-title {
    font-size: 1rem;
    font-weight: 600;
}

.depot-post-nav-title a {
    color: var(--depot-color-secondary);
}

.depot-post-nav-title a:hover {
    color: var(--depot-color-primary);
}

.depot-post-nav-next {
    text-align: right;
}

/* ==========================================================================
   Related Posts
   ========================================================================== */
.depot-related {
    margin-top: var(--depot-gap-lg);
    padding-top: var(--depot-gap);
    border-top: 1px solid var(--depot-color-border);
}

.depot-related-title {
    font-size: 1.25rem;
    margin-bottom: var(--depot-gap);
    display: flex;
    align-items: center;
    gap: 12px;
}

.depot-related-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--depot-color-primary);
    border-radius: 2px;
}

.depot-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--depot-gap);
}

.depot-related-item {
    border-radius: var(--depot-border-radius);
    overflow: hidden;
}

.depot-related-item .depot-card-thumbnail {
    aspect-ratio: 16/10;
    margin-bottom: 12px;
    border-radius: var(--depot-border-radius);
}

.depot-related-item-title {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.depot-related-item-title a {
    color: var(--depot-color-secondary);
}

.depot-related-item-title a:hover {
    color: var(--depot-color-primary);
}

/* ==========================================================================
   Author Box
   ========================================================================== */
.depot-author-box {
    display: flex;
    gap: var(--depot-gap);
    background: var(--depot-color-bg-alt);
    padding: var(--depot-gap);
    margin-top: var(--depot-gap-lg);
    border-radius: var(--depot-border-radius);
    border-left: 4px solid var(--depot-color-primary);
}

.depot-author-avatar {
    flex-shrink: 0;
}

.depot-author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.depot-author-info h4 {
    margin-bottom: 4px;
    color: var(--depot-color-secondary);
}

.depot-author-role {
    font-family: var(--depot-font-ui);
    font-size: 0.8rem;
    color: var(--depot-color-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.depot-author-bio {
    font-size: 0.9375rem;
    color: var(--depot-color-text-light);
    margin: 0;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.depot-sidebar {
    font-size: 0.9375rem;
}

.depot-widget {
    margin-bottom: var(--depot-gap);
    padding: var(--depot-gap);
    background: var(--depot-color-bg-alt);
    border-radius: var(--depot-border-radius);
}

.depot-widget:last-child {
    margin-bottom: 0;
}

.depot-widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--depot-gap-sm);
    padding-bottom: var(--depot-gap-sm);
    border-bottom: 2px solid var(--depot-color-primary);
    color: var(--depot-color-secondary);
}

.depot-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.depot-widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--depot-color-border);
}

.depot-widget li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.depot-widget a {
    color: var(--depot-color-text);
}

.depot-widget a:hover {
    color: var(--depot-color-primary);
}

/* ==========================================================================
   Comments
   ========================================================================== */
.depot-comments {
    margin-top: var(--depot-gap-lg);
}

.depot-comments-title {
    font-size: 1.25rem;
    margin-bottom: var(--depot-gap);
    display: flex;
    align-items: center;
    gap: 12px;
}

.depot-comments-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--depot-color-primary);
    border-radius: 2px;
}

.depot-comment-list,
.depot-comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.depot-comment {
    padding: var(--depot-gap) 0;
    border-bottom: 1px solid var(--depot-color-border);
}

.depot-comment-header {
    display: flex;
    align-items: center;
    gap: var(--depot-gap-sm);
    margin-bottom: var(--depot-gap-sm);
}

.depot-comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.depot-comment-author {
    font-weight: 600;
    color: var(--depot-color-secondary);
}

.depot-comment-date {
    font-family: var(--depot-font-ui);
    font-size: 0.8rem;
    color: var(--depot-color-text-light);
}

.depot-comment-content {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.depot-comment-content p:last-child {
    margin-bottom: 0;
}

.depot-comment-reply {
    margin-top: 12px;
}

.depot-comment-reply a {
    font-family: var(--depot-font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.depot-comment-awaiting {
    background: #fef3cd;
    color: #856404;
    padding: 10px;
    border-radius: var(--depot-border-radius);
    font-size: 0.875rem;
}

/* Comment form */
.depot-comment-form {
    margin-top: var(--depot-gap);
}

.depot-comment-form label {
    display: block;
    font-family: var(--depot-font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--depot-color-secondary);
}

.depot-comment-form input[type="text"],
.depot-comment-form input[type="email"],
.depot-comment-form input[type="url"],
.depot-comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--depot-color-border);
    font-family: var(--depot-font-body);
    font-size: 1rem;
    margin-bottom: var(--depot-gap-sm);
    border-radius: var(--depot-border-radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.depot-comment-form input:focus,
.depot-comment-form textarea:focus {
    outline: none;
    border-color: var(--depot-color-primary);
    box-shadow: 0 0 0 3px rgba(255,102,0,0.15);
}

/* Comment submit button */
.depot-comment-submit,
.comment-form .submit {
    display: inline-block;
    background: var(--depot-color-primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-family: var(--depot-font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border-radius: var(--depot-border-radius);
}

.depot-comment-submit:hover,
.comment-form .submit:hover {
    background: var(--depot-color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Comment form fields */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--depot-color-border);
    font-family: var(--depot-font-body);
    font-size: 1rem;
    margin-bottom: var(--depot-gap-sm);
    border-radius: var(--depot-border-radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--depot-color-primary);
    box-shadow: 0 0 0 3px rgba(255,102,0,0.15);
}

.comment-form label {
    display: block;
    font-family: var(--depot-font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--depot-color-secondary);
}

.comment-form p {
    margin-bottom: var(--depot-gap-sm);
}

.comment-reply-title {
    font-size: 1.25rem;
    margin-bottom: var(--depot-gap);
    display: flex;
    align-items: center;
    gap: 12px;
}

.depot-btn {
    display: inline-block;
    background: var(--depot-color-primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-family: var(--depot-font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border-radius: var(--depot-border-radius);
}

.depot-btn:hover {
    background: var(--depot-color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.depot-footer {
    background: var(--depot-color-footer-bg);
    color: var(--depot-color-footer-text);
    padding: 40px 0 var(--depot-gap);
}

.depot-footer a {
    color: var(--depot-color-footer-link);
}

.depot-footer a:hover {
    color: var(--depot-color-footer-link-hover);
}

.depot-footer-widgets {
    margin-bottom: var(--depot-gap);
    padding-bottom: var(--depot-gap);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.depot-footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--depot-gap);
}

.depot-footer-widget-area .depot-footer-widget {
    margin-bottom: var(--depot-gap-sm);
}

.depot-footer-widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.depot-footer-widget-area li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.depot-footer-widget-area li:last-child {
    border-bottom: none;
}

.depot-footer-widget-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: var(--depot-gap-sm);
}

.depot-footer-nav {
    margin-bottom: var(--depot-gap);
}

.depot-footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--depot-gap);
    list-style: none;
    padding: 0;
    margin: 0;
}

.depot-footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--depot-gap);
    list-style: none;
    padding: 0;
    margin: 0;
}

.depot-footer-nav a,
.depot-footer-menu a {
    font-family: var(--depot-font-ui);
    font-size: 0.875rem;
}

.depot-footer-bottom {
    text-align: center;
    font-family: var(--depot-font-ui);
    font-size: 0.875rem;
}

.depot-footer-tagline {
    margin-bottom: 10px;
    font-style: italic;
}

.depot-footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
}

.depot-footer-info {
    text-align: center;
}

.depot-copyright {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.depot-footer-description {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ==========================================================================
   Search
   ========================================================================== */
.depot-search-form {
    display: flex;
}

.depot-search-form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--depot-color-border);
    border-right: none;
    font-family: var(--depot-font-body);
    font-size: 1rem;
    border-radius: var(--depot-border-radius) 0 0 var(--depot-border-radius);
}

.depot-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--depot-color-primary);
}

.depot-search-form button {
    background: var(--depot-color-primary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 0 var(--depot-border-radius) var(--depot-border-radius) 0;
    font-weight: 600;
    transition: background 0.2s;
}

.depot-search-form button:hover {
    background: var(--depot-color-accent);
}

/* Header search */
.depot-header-search {
    flex-shrink: 0;
}

.depot-header-search .search-form {
    display: flex;
    max-width: 280px;
}

.depot-header-search .search-field {
    padding: 10px 14px;
    border: 1px solid var(--depot-color-border);
    border-right: none;
    font-size: 0.9rem;
    width: 200px;
    border-radius: var(--depot-border-radius) 0 0 var(--depot-border-radius);
}

.depot-header-search .search-submit {
    padding: 10px 16px;
    background: var(--depot-color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0 var(--depot-border-radius) var(--depot-border-radius) 0;
    transition: background 0.2s;
}

.depot-header-search .search-submit:hover {
    background: var(--depot-color-accent);
}

/* Search results */
.depot-search-header {
    margin-bottom: var(--depot-gap);
    padding-bottom: var(--depot-gap);
    border-bottom: 1px solid var(--depot-color-border);
}

.depot-search-title {
    margin-bottom: var(--depot-gap-sm);
}

.depot-search-title span {
    color: var(--depot-color-primary);
}

.depot-search-count {
    font-family: var(--depot-font-ui);
    font-size: 0.9rem;
    color: var(--depot-color-text-light);
    margin-bottom: var(--depot-gap);
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.depot-404 {
    text-align: center;
    padding: var(--depot-gap-lg) 0;
}

.depot-404-title {
    font-size: 8rem;
    font-weight: 800;
    color: var(--depot-color-primary);
    margin-bottom: 0;
    line-height: 1;
}

.depot-404-subtitle {
    font-size: 1.75rem;
    margin-bottom: var(--depot-gap);
    color: var(--depot-color-secondary);
}

.depot-404-text {
    color: var(--depot-color-text-light);
    margin-bottom: var(--depot-gap);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.depot-404-search {
    max-width: 400px;
    margin: 0 auto var(--depot-gap);
}

/* ==========================================================================
   Page
   ========================================================================== */
.depot-page .depot-article-header {
    text-align: center;
    margin-bottom: var(--depot-gap-lg);
}

.depot-page .depot-article-title {
    font-size: 2.5rem;
}

/* ==========================================================================
   Archive
   ========================================================================== */
.depot-archive-header {
    margin-bottom: var(--depot-gap);
    padding-bottom: var(--depot-gap);
    border-bottom: 1px solid var(--depot-color-border);
}

.depot-archive-title {
    margin-bottom: 8px;
}

.depot-archive-description {
    color: var(--depot-color-text-light);
    font-size: 1.0625rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .depot-layout > .depot-sidebar {
        width: 100%;
    }

    .depot-articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .depot-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .depot-card-featured .depot-card-inner {
        grid-template-columns: 1fr;
    }

    .depot-card-featured .depot-card-thumbnail {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    :root {
        --depot-font-size-base: 15px;
        --depot-gap: 20px;
    }

    .depot-layout > .depot-sidebar {
        display: none;
    }

    .depot-site-title {
        font-size: 1.5rem;
    }

    .depot-menu-toggle {
        display: flex;
    }

    .depot-header-inner {
        position: relative;
    }

    .depot-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        z-index: 10000;
        background: var(--depot-color-nav-bg);
        overflow-y: auto;
        transition: right 0.3s ease;
        padding-top: 60px;
        display: block;
    }

    .depot-nav.depot-nav-open {
        right: 0;
    }

    .depot-nav-close {
        position: absolute;
        top: 15px;
        right: 15px;
        color: var(--depot-color-nav-text);
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px 10px;
        line-height: 1;
    }

    .depot-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
    }

    .depot-nav-overlay-active {
        display: block;
    }

    .depot-nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .depot-nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .depot-nav-menu li:last-child {
        border-bottom: none;
    }

    .depot-nav-menu a {
        color: var(--depot-color-nav-text);
        padding: 14px 20px;
    }

    .depot-nav-menu a:hover,
    .depot-nav-menu a:focus {
        background: var(--depot-color-primary);
        color: #fff;
    }

    .depot-posts-grid {
        grid-template-columns: 1fr;
    }

    .depot-articles-grid,
    .depot-articles-grid.grid-3col,
    .depot-articles-grid.grid-2col {
        grid-template-columns: 1fr !important;
    }

    .depot-articles-grid.grid-list .depot-card {
        flex-direction: column;
    }

    .depot-articles-grid.grid-list .depot-card-thumbnail {
        flex: none;
    }

    .depot-related-grid {
        grid-template-columns: 1fr;
    }

    .depot-post-nav {
        grid-template-columns: 1fr;
        gap: var(--depot-gap-sm);
    }

    .depot-post-nav-next {
        text-align: left;
    }

    .depot-author-box {
        flex-direction: column;
        text-align: center;
    }

    .depot-article-title,
    .depot-single-title {
        font-size: 1.75rem;
    }

    .depot-page-title {
        font-size: 1.75rem;
    }

    .depot-404-title {
        font-size: 5rem;
    }

    .depot-404-code {
        font-size: 5rem;
    }

    .depot-logo img,
    .depot-logo .custom-logo,
    .depot-brand img,
    .custom-logo-link img {
        max-height: 40px;
    }

    .depot-header-search {
        width: 100%;
        margin-top: var(--depot-gap-sm);
    }

    .depot-header-search .search-form {
        max-width: 100%;
    }

    .depot-header-search .search-field {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 480px) {
    .depot-footer-widgets-grid {
        grid-template-columns: 1fr;
    }

    .depot-header-top-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .depot-site-tagline {
        display: none;
    }
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */
.depot-sticky-header .depot-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.depot-sticky-header .depot-header.depot-header-scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}

.depot-sticky-header .depot-header.depot-header-scrolled .custom-logo,
.depot-sticky-header .depot-header.depot-header-scrolled .depot-site-logo img {
    max-height: 40px;
    transition: max-height 0.3s ease;
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */
.depot-single-header {
    margin-bottom: var(--depot-gap);
}

.depot-single-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--depot-gap-sm);
}

.depot-single-category {
    display: inline-block;
    background: var(--depot-color-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.depot-single-category:hover {
    background: var(--depot-color-accent);
    color: #fff;
}

.depot-single-title {
    font-size: 2.25rem;
    line-height: var(--depot-line-height-heading);
    margin-bottom: var(--depot-gap-sm);
    color: var(--depot-color-secondary);
}

.depot-single-meta {
    font-family: var(--depot-font-ui);
    font-size: 0.875rem;
    color: var(--depot-color-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.depot-single-meta a {
    color: var(--depot-color-text-light);
}

.depot-single-meta a:hover {
    color: var(--depot-color-primary);
}

.depot-single-thumbnail {
    margin: var(--depot-gap) 0;
    border-radius: var(--depot-border-radius);
    overflow: hidden;
}

.depot-single-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: var(--depot-border-radius);
}

.depot-single-thumbnail figcaption {
    font-family: var(--depot-font-ui);
    font-size: 0.85rem;
    color: var(--depot-color-text-light);
    text-align: center;
    padding: 10px 0;
    font-style: italic;
}

.depot-single-content {
    font-size: 1.0625rem;
    line-height: 1.75;
}

.depot-single-content h2,
.depot-single-content h3,
.depot-single-content h4 {
    margin-top: 2em;
}

.depot-single-content h2 {
    padding-left: 16px;
    border-left: 3px solid var(--depot-color-accent);
}

.depot-single-content a {
    border-bottom: 1px solid var(--depot-color-primary);
}

.depot-single-content a:hover {
    border-bottom-color: var(--depot-color-accent);
}

.depot-single-content img {
    border-radius: var(--depot-border-radius);
}

.depot-article-content blockquote,
.depot-single-content blockquote {
    margin: 1.5em 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--depot-color-primary);
    background: var(--depot-color-bg-alt);
    border-radius: 0 var(--depot-border-radius) var(--depot-border-radius) 0;
    font-style: italic;
    color: var(--depot-color-text);
}

.depot-article-content blockquote cite,
.depot-article-content blockquote footer,
.depot-single-content blockquote cite,
.depot-single-content blockquote footer {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-style: normal;
    color: var(--depot-color-text-light);
}

.depot-article-content blockquote p,
.depot-single-content blockquote p {
    margin-bottom: 0.5em;
}

.depot-article-content blockquote p:last-child,
.depot-single-content blockquote p:last-child {
    margin-bottom: 0;
}

.depot-single-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9375rem; overflow-x: auto; display: block; }
.depot-single-content thead { background: var(--depot-color-bg-alt, #f4f4f4); }
.depot-single-content th, .depot-single-content td { padding: 0.75rem 1rem; border: 1px solid var(--depot-color-border, #ddd); text-align: left; vertical-align: top; }
.depot-single-content th { font-weight: 700; white-space: nowrap; }
.depot-single-content tr:nth-child(even) { background: var(--depot-color-bg-alt, #f8f8f8); }

.depot-single-footer {
    margin-top: var(--depot-gap);
    padding-top: var(--depot-gap);
    border-top: 1px solid var(--depot-color-border);
}

.depot-author-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.depot-author-name a {
    color: var(--depot-color-secondary);
}

.depot-author-name a:hover {
    color: var(--depot-color-primary);
}

/* Page link navigation */
.depot-page-links {
    margin-top: var(--depot-gap);
    padding: var(--depot-gap-sm);
    background: var(--depot-color-bg-alt);
    border-radius: var(--depot-border-radius);
    font-family: var(--depot-font-ui);
}

.depot-page-links-label {
    font-weight: 600;
    margin-right: 8px;
}

/* ==========================================================================
   Page Styles
   ========================================================================== */
.depot-page-header {
    margin-bottom: var(--depot-gap-lg);
    text-align: center;
}

.depot-page-title {
    font-size: 2.5rem;
}

.depot-page-thumbnail {
    margin: var(--depot-gap) 0;
    border-radius: var(--depot-border-radius);
    overflow: hidden;
}

.depot-page-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: var(--depot-border-radius);
}

.depot-page-content {
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* ==========================================================================
   404 Page Elements
   ========================================================================== */
.depot-404-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--depot-color-primary);
    margin: 0;
    line-height: 1;
}

.depot-404-message {
    color: var(--depot-color-text-light);
    margin-bottom: var(--depot-gap);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.depot-404-home {
    display: inline-block;
    background: var(--depot-color-primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--depot-border-radius);
    font-weight: 600;
    margin-top: var(--depot-gap-sm);
    transition: background 0.2s, transform 0.2s;
}

.depot-404-home:hover {
    background: var(--depot-color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Search Form Inline (404/Search results)
   ========================================================================== */
.depot-search-form-inline {
    display: flex;
    gap: 8px;
    max-width: 500px;
    margin: var(--depot-gap) auto;
}

.depot-search-form-inline .depot-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--depot-color-border);
    border-radius: var(--depot-border-radius);
    font-size: 1rem;
    font-family: var(--depot-font-body);
}

.depot-search-form-inline .depot-search-input:focus {
    outline: none;
    border-color: var(--depot-color-primary);
    box-shadow: 0 0 0 3px rgba(255,102,0,0.15);
}

.depot-search-form-inline .depot-search-submit {
    padding: 12px 24px;
    background: var(--depot-color-primary);
    color: #fff;
    border: none;
    border-radius: var(--depot-border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.depot-search-form-inline .depot-search-submit:hover {
    background: var(--depot-color-accent);
}

/* ==========================================================================
   Left Sidebar (legacy)
   ========================================================================== */
.depot-left-sidebar .depot-wrapper {
    flex-direction: row-reverse;
}

/* ==========================================================================
   Boxed Layout
   ========================================================================== */
.depot-layout-boxed {
    background: var(--depot-color-bg-alt);
}

.depot-layout-boxed .depot-header,
.depot-layout-boxed .depot-content,
.depot-layout-boxed .depot-footer {
    background: var(--depot-color-bg);
    max-width: var(--depot-content-width);
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 40px rgba(0,0,0,0.05);
}

/* ==========================================================================
   Footer Columns
   ========================================================================== */
.depot-footer-columns-1 {
    grid-template-columns: 1fr;
}

.depot-footer-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.depot-footer-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.depot-footer-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .depot-footer-columns-2,
    .depot-footer-columns-3,
    .depot-footer-columns-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */
.depot-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--depot-color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s, transform 0.2s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255,102,0,0.3);
}

.depot-scroll-top.visible,
.depot-scroll-top.depot-scroll-top-visible {
    opacity: 1;
    visibility: visible;
}

.depot-scroll-top:hover {
    background: var(--depot-color-accent);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .depot-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Title Hover Effects
   ========================================================================== */
/* Underline */
.depot-title-effect-underline .depot-card-title a,
.depot-title-effect-underline .depot-related-item-title a {
    text-decoration: none;
    background-image: linear-gradient(var(--depot-color-primary), var(--depot-color-primary));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease, color 0.2s ease;
}

.depot-title-effect-underline .depot-card-title a:hover,
.depot-title-effect-underline .depot-related-item-title a:hover {
    background-size: 100% 2px;
}

/* Color change */
.depot-title-effect-color .depot-card-title a:hover,
.depot-title-effect-color .depot-related-item-title a:hover {
    color: var(--depot-color-primary);
}

/* ==========================================================================
   Image Hover Effects
   ========================================================================== */
/* Zoom */
.depot-image-effect-zoom .depot-card-thumbnail {
    overflow: hidden;
}

.depot-image-effect-zoom .depot-card:hover .depot-card-thumbnail img {
    transform: scale(1.1);
}

/* Fade */
.depot-image-effect-fade .depot-card-thumbnail img {
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.depot-image-effect-fade .depot-card:hover .depot-card-thumbnail img {
    opacity: 0.85;
}

/* Overlay */
.depot-image-effect-overlay .depot-card-thumbnail {
    position: relative;
}

.depot-image-effect-overlay .depot-card-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--depot-color-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.depot-image-effect-overlay .depot-card:hover .depot-card-thumbnail::after {
    opacity: 0.15;
}

/* ==========================================================================
   No Posts
   ========================================================================== */
.depot-no-posts {
    text-align: center;
    padding: var(--depot-gap-lg);
    background: var(--depot-color-bg-alt);
    border-radius: var(--depot-border-radius);
}

.depot-no-posts h2 {
    margin-bottom: var(--depot-gap-sm);
}

.depot-no-posts p {
    color: var(--depot-color-text-light);
    margin: 0;
}

/* Interlinking Section */
.depot-interlinking {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.depot-interlinking-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}
.depot-interlinking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.depot-interlinking-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}
.depot-interlinking-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--depot-color-primary, #333);
}
.depot-interlinking-list a {
    color: var(--depot-color-primary, #333);
    text-decoration: none;
}
.depot-interlinking-list a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Structural Diversification
   ========================================================================== */

/* --- Card Style: Horizontal --- */
body.depot-card-horizontal .depot-articles-grid {
    grid-template-columns: 1fr;
}
body.depot-card-horizontal .depot-card {
    display: flex;
    flex-direction: row;
}
body.depot-card-horizontal .depot-card-thumbnail {
    width: 40%;
    flex-shrink: 0;
    aspect-ratio: auto;
}
body.depot-card-horizontal .depot-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.depot-card-horizontal .depot-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
    body.depot-card-horizontal .depot-card {
        flex-direction: column;
    }
    body.depot-card-horizontal .depot-card-thumbnail {
        width: 100%;
    }
}

/* --- Card Style: Overlay --- */
body.depot-card-overlay .depot-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}
body.depot-card-overlay .depot-card-thumbnail {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    aspect-ratio: auto;
}
body.depot-card-overlay .depot-card-thumbnail img {
    width: 100%; height: 100%; object-fit: cover;
}
body.depot-card-overlay .depot-card-content {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 280px; padding: 1.25rem;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.85) 100%);
}
body.depot-card-overlay .depot-card-title a,
body.depot-card-overlay .depot-card-meta,
body.depot-card-overlay .depot-card-excerpt { color: #fff; }
body.depot-card-overlay .depot-card-category {
    position: static; align-self: flex-start; margin-bottom: 8px;
}

/* --- Card Style: Text Only --- */
body.depot-card-text .depot-card-thumbnail { display: none; }
body.depot-card-text .depot-card {
    border-left: 3px solid var(--depot-color-primary);
    padding-left: 1rem;
}

/* --- Header: Centered --- */
body.depot-header-centered .depot-header-inner {
    flex-direction: column; align-items: center; gap: 0.75rem;
    padding: 0.75rem 0;
}
body.depot-header-centered .depot-nav { order: 2; }
body.depot-header-centered .depot-search-toggle {
    position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
}
@media (max-width: 768px) {
    body.depot-header-centered .depot-header-inner {
        flex-direction: row; padding: 0;
    }
    body.depot-header-centered .depot-search-toggle {
        position: static; transform: none;
    }
}

/* --- Header: Stacked --- */
body.depot-header-stacked .depot-header-inner {
    flex-wrap: wrap; gap: 0; padding: 0.5rem 0;
}
body.depot-header-stacked .depot-logo {
    width: 100%; text-align: center; padding: 0.75rem 0 0.5rem;
}
body.depot-header-stacked .depot-nav { flex: 1; justify-content: center; }
@media (max-width: 768px) {
    body.depot-header-stacked .depot-logo {
        width: auto; text-align: left; padding: 0;
    }
}

/* --- Featured: Hero --- */
body.depot-featured-hero .depot-featured-article {
    display: block; position: relative; min-height: 400px;
    overflow: hidden; border-radius: var(--depot-border-radius, 8px);
}
body.depot-featured-hero .depot-featured-thumb {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
body.depot-featured-hero .depot-featured-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}
body.depot-featured-hero .depot-featured-content {
    position: relative; z-index: 1; min-height: 400px;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem; background: linear-gradient(transparent 40%, rgba(0,0,0,0.8) 100%);
}
body.depot-featured-hero .depot-featured-title a { color: #fff; font-size: 2.25rem; }
body.depot-featured-hero .depot-featured-excerpt,
body.depot-featured-hero .depot-featured-meta { color: rgba(255,255,255,0.9); }

/* --- Featured: None --- */
body.depot-featured-none .depot-featured-section { display: none; }

/* --- Hover: Glow --- */
body.depot-hover-glow .depot-card:hover {
    box-shadow: 0 0 20px rgba(255,102,0,0.2);
    transform: none;
}

/* --- Hover: Shadow --- */
body.depot-hover-shadow .depot-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: none;
}

/* --- Hover: Border --- */
body.depot-hover-border .depot-card:hover {
    border-color: var(--depot-color-primary);
    box-shadow: none;
    transform: none;
}

/* --- Hover: None --- */
body.depot-hover-none .depot-card:hover {
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   Accent Stripe
   ========================================================================== */
.depot-accent-stripe {
    height: 4px;
    background: linear-gradient(90deg, var(--depot-color-primary), var(--depot-color-accent));
}

/* ==========================================================================
   Reading Progress Bar
   ========================================================================== */
.depot-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--depot-color-accent);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ==========================================================================
   Dropcap
   ========================================================================== */
.depot-single-content > p:first-of-type::first-letter {
    float: left;
    font-size: 3.5em;
    line-height: 0.8;
    font-family: var(--depot-font-heading);
    font-weight: 700;
    color: var(--depot-color-primary);
    margin: 0.05em 0.12em 0 0;
}

.depot-dropcap-boxed .depot-single-content > p:first-of-type::first-letter {
    background: var(--depot-color-accent);
    color: #fff;
    padding: 0.08em 0.16em;
    margin: 0.05em 0.15em 0 0;
    border-radius: 4px;
}

.depot-dropcap-none .depot-single-content > p:first-of-type::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    background: none;
}

/* ==========================================================================
   Share Buttons
   ========================================================================== */
.depot-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--depot-content-spacing) 0;
    border-top: 1px solid var(--depot-color-border);
    border-bottom: 1px solid var(--depot-color-border);
    margin: var(--depot-gap) 0;
}

.depot-share-label {
    font-family: var(--depot-font-accent, var(--depot-font-heading));
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--depot-color-text-light);
}

.depot-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: var(--depot-border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--depot-color-border);
    color: var(--depot-color-secondary);
    background: var(--depot-color-bg);
    cursor: pointer;
    transition: all 0.2s;
}

.depot-share-link:hover {
    background: var(--depot-color-primary);
    color: #fff;
    border-color: var(--depot-color-primary);
}

.depot-share-copy.depot-copied {
    background: var(--depot-color-accent);
    color: #fff;
    border-color: var(--depot-color-accent);
}

/* ==========================================================================
   Lazy Card Animation
   ========================================================================== */
.depot-card-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.depot-card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Nav Style Variants
   ========================================================================== */
.depot-nav-light .depot-header {
    background: var(--depot-color-bg-alt);
}

.depot-nav-light .depot-nav-menu a {
    color: var(--depot-color-secondary);
}

.depot-nav-light .depot-nav-menu a:hover,
.depot-nav-light .depot-nav-menu a:focus {
    color: var(--depot-color-primary);
    background: transparent;
}

.depot-nav-light .depot-menu-toggle-bar {
    background: var(--depot-color-secondary);
}

.depot-nav-accent .depot-header {
    background: var(--depot-color-accent);
}

.depot-nav-accent .depot-nav-menu a:hover,
.depot-nav-accent .depot-nav-menu a:focus {
    background: rgba(0,0,0,0.15);
}

/* ==========================================================================
   Footer Columns Variants
   ========================================================================== */
.depot-footer-1col .depot-footer-widgets-grid {
    grid-template-columns: 1fr;
}

.depot-footer-2col .depot-footer-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
}

.depot-footer-4col .depot-footer-widgets-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .depot-footer-4col .depot-footer-widgets-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   No Sticky Header
   ========================================================================== */
.depot-no-sticky-header .depot-nav-primary {
    position: static;
}

/* ==========================================================================
   Nav Letter Spacing
   ========================================================================== */
.depot-nav-menu a {
    letter-spacing: var(--depot-nav-letter-spacing, 0.05em);
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .depot-header, .depot-nav, .depot-sidebar, .depot-scroll-top,
    .depot-post-nav, .depot-related, .depot-interlinking, .depot-comments,
    .depot-footer, .depot-reading-progress, .depot-accent-stripe,
    .depot-share, .depot-search-overlay { display: none !important; }
    body { font-size: 12pt; color: #000; background: #fff; }
    .depot-single-content { max-width: 100%; }
    a { color: inherit; text-decoration: underline; }
    .depot-single-title { font-size: 24pt; }
}
