@font-face {
        font-family: 'Caveat';
        font-style: normal;
        font-weight: 700;
        font-display: swap;
        src: url('../fonts/caveat-bold.woff2') format('woff2');
}

@font-face {
        font-family: 'Nunito';
        font-style: normal;
        font-weight: 400;
        font-display: swap;
        src: url('../fonts/nunito-regular.woff2') format('woff2');
}

@font-face {
        font-family: 'Nunito';
        font-style: normal;
        font-weight: 700;
        font-display: swap;
        src: url('../fonts/nunito-bold.woff2') format('woff2');
}
:root {
        --primary: #2c2c2c;
        --primary-dark: #1e1e1e;
        --primary-darker: #111111;
        --primary-gradient: #2c2c2c;
        --primary-gradient-hover: #1e1e1e;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --text-muted: #999999;
        --bg-body: #ffffff;
        --bg-card: #ffffff;
        --bg-hover: #f8f9fa;
        --border-color: #e9ecef;
        --border-subtle: #dee2e6;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
        --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.2);
        --space-xs: 0.5rem;
        --space-sm: 1rem;
        --space-md: 1.5rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
        --radius-sm: 8px;
        --radius-md: 12px;
        --radius-lg: 16px;
        --font-size-base: 1rem;
        --font-size-sm: 0.875rem;
        --font-size-xs: 0.75rem;
        --font-size-lg: 1.125rem;
        --font-size-xl: 1.25rem;
        --line-height-base: 1.6;
        --code-bg: #f8f9fa;
        --code-text: #333;
        --code-border: #e9ecef;
}

html {
        position: relative;
        min-height: 100%;
        scroll-behavior: smooth;
        scrollbar-gutter: stable;
}

body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
        margin-bottom: 42px;
        background-color: #000000;
        color: var(--text-primary);
        transition: background-color 0.3s ease, color 0.3s ease;
        font-size: var(--font-size-base);
        line-height: var(--line-height-base);
}

section {
        padding: 150px 0;
}

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

input,
textarea,
select,
.form-control {
        background-color: #ffffff !important;
        color: var(--text-primary) !important;
        border-color: var(--border-color);
}

a {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.3s ease;
}

a:hover {
        color: var(--primary-dark);
        text-decoration: none;
}

a:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
}

.site-brand-centered:focus,
.title-link:focus,
.feed-cover-image-wrapper:focus,
.post-cover-image-wrapper:focus {
        outline: none !important;
}

.site-brand-centered,
.title-link {
        display: inline-block;
}

.content a:not(.btn):not(.taxonomy-badge),
.content a:not(.btn):not(.taxonomy-badge) * {
        color: #0000FF !important;
        text-decoration: underline !important;
        font-weight: 700 !important;
        font-size: 1.15em !important;
        font-family: 'Nunito', sans-serif !important;
        transition: none !important;
}

.content a:not(.btn):not(.taxonomy-badge):hover,
.content a:not(.btn):not(.taxonomy-badge):hover * {
        color: #00008B !important;
}

h1.title,
h2.title {
        font-family: 'Caveat', cursive;
        font-size: 3.5rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: var(--space-md);
}

.content {
        font-family: 'Nunito', sans-serif;
        font-weight: 400;
        font-size: 1.1rem;
        line-height: 1.7;
}


.content h1 {
        font-family: 'Caveat', cursive;
        font-size: 2.8rem;
        font-weight: 700;
        color: var(--primary-dark);
        margin-top: 2rem;
        margin-bottom: 1rem;
        text-decoration: underline;
        text-underline-offset: 8px;
}

.content h2 {
        font-size: 1.7rem;
        font-weight: 600;
        color: var(--primary-dark);
        margin-top: 1.8rem;
        margin-bottom: 0.8rem;
        border-left: 4px solid var(--primary);
        padding-left: 15px;
}

pre,
code {
        background: var(--code-bg);
        color: var(--code-text);
        border-radius: var(--radius-sm);
        transition: background-color 0.3s ease, color 0.3s ease;
}

pre {
        border-left: 3px solid var(--primary);
        padding: var(--space-md);
        overflow-x: auto;
}

code {
        display: inline-block;
        padding: 0.2em 0.5em;
        line-height: 1.4em;
        font-size: 0.9em;
}

table {
        empty-cells: show;
        border: 1px solid var(--border-color);
        width: 100%;
        font-size: 0.9em;
        margin-bottom: var(--space-md);
        border-radius: var(--radius-sm);
        overflow: hidden;
}

thead {
        background: var(--primary);
        color: #ffffff;
        text-align: left;
        vertical-align: bottom;
}

tr {
        display: table-row;
        vertical-align: inherit;
        border-color: var(--border-color);
        transition: background-color 0.2s ease;
}

tbody tr:hover {
        background-color: var(--bg-hover);
}

th,
td {
        padding: 0.75em 1em;
        border-bottom: 1px solid var(--border-color);
}

blockquote {
        padding: var(--space-md) var(--space-lg);
        margin: 0 0 var(--space-lg) var(--space-lg);
        border-left: 4px solid var(--primary);
        font-style: italic;
        background-color: var(--bg-hover);
        border-radius: var(--radius-sm);
        color: var(--text-secondary);
}

.navbar-modern {
        background: linear-gradient(180deg, rgba(28, 28, 28, 0.92) 0%, rgba(0, 0, 0, 0.85) 100%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        position: relative;
        transition: all 0.3s ease;
        padding-top: 1rem;
        padding-bottom: 1rem;
        min-height: 90px;
}

.navbar-modern::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.site-brand-centered {
        display: flex;
        align-items: center;
        gap: 1.8rem;
}

@media (min-width: 768px) {
        .site-brand-centered {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
        }
        .site-brand-centered:hover {
                transform: translateX(-50%);
        }
}

.site-logo {
        height: 75px;
        width: auto;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.site-brand-centered span {
        font-family: 'Caveat', cursive;
        font-size: 3rem;
        color: var(--text-primary);
        text-transform: none;
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
        transition: text-shadow 0.3s ease;
}

.site-brand-centered:hover span {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.45);
}

.navbar .nav-link {
        font-size: 0.825rem;
        font-weight: 500;
        color: var(--text-primary) !important;
        padding: 0.3rem 0.75rem;
        border-radius: var(--radius-sm);
        transition: all 0.3s ease;
}

.navbar .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.05);
}

.navbar .nav-link.active {
        background-color: rgba(0, 0, 0, 0.1);
}

img.nav-svg-icon {
        width: 1.2rem;
        height: 1.2rem;
        filter: brightness(0);
        opacity: 0.7;
        transition: opacity 0.3s ease;
}

.nav-link:hover img.nav-svg-icon {
        opacity: 1;
}

.custom-top-categories {
        margin-top: 60px;
        margin-bottom: 50px;
}

.custom-category-btn {
        display: inline-block;
        background-color: #900C3F;
        color: var(--text-primary);
        padding: 6px 25px;
        margin: 5px 3px;
        clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        transition: background-color 0.3s ease, transform 0.2s ease;
}

.custom-category-btn:hover {
        background-color: #68082D;
        color: var(--text-primary);
        transform: translateY(-2px);
        text-decoration: none;
}

.header-search-wrapper {
        position: relative;
        z-index: 15;
        display: flex;
        align-items: center;
}

@media (min-width: 768px) {
        .navbar .container {
                flex-wrap: nowrap;
        }
        .header-search-wrapper {
                margin-left: 1.5rem;
                justify-content: flex-end;
                position: relative;
                top: 6px;
        }
        .site-brand-centered {
                z-index: 20;
        }
}

@media (max-width: 767px) {
        .header-search-wrapper {
                position: static;
                align-self: flex-end;
                margin-top: 10px;
        }
}

.search-trigger-btn {
        background: transparent;
        border: none;
        color: var(--text-primary);
        font-size: 1.3rem;
        cursor: pointer;
        padding: 5px;
        transition: color 0.3s ease, transform 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
}

.search-trigger-text {
        font-size: 0.85rem;
        font-weight: 500;
        text-transform: uppercase;
        white-space: nowrap;
}

.search-trigger-btn:hover {
        color: #888888;
        transform: scale(1.1);
}

.search-trigger-btn:focus {
        outline: none;
}

.fullscreen-search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-search-overlay.active {
        opacity: 1;
        visibility: visible;
}

.search-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 1.8rem;
        cursor: pointer;
        transition: transform 0.3s ease, color 0.3s ease;
}

.search-close-btn:hover {
        transform: rotate(90deg);
        color: #cccccc;
}

.search-close-btn:focus {
        outline: none;
}


.fullscreen-search-content {
        width: 100%;
        max-width: 450px;
        padding: 20px;
        transform: translateY(30px);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fullscreen-search-overlay.active .fullscreen-search-content {
        transform: translateY(0);
}

.custom-top-search {
        width: 100%;
}

.custom-top-search .plugin {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
}

.custom-top-search h2,
.custom-top-search h3,
.custom-top-search .plugin-label {
        display: none !important;
}

.custom-top-search form,
.custom-top-search .plugin-content {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        position: relative;
}

.custom-top-search input {
        width: 100% !important;
        background-color: transparent !important;
        border: none !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 0 !important;
        color: #ffffff !important;
        font-size: 1.4rem !important;
        padding: 8px 40px 8px 0 !important;
        outline: none !important;
        box-shadow: none !important;
        transition: border-color 0.3s ease !important;
        font-family: 'Nunito', sans-serif;
        font-weight: 700;
}

.custom-top-search input:focus {
        border-bottom-color: #ffffff !important;
}

.custom-top-search input::placeholder {
        color: rgba(255, 255, 255, 0.3);
}

.custom-top-search button {
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: transparent !important;
        border: none !important;
        font-size: 0 !important;
        color: transparent !important;
        width: 40px !important;
        height: 40px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: none !important;
}

.custom-top-search button::before {
        content: "\F52A" !important;
        font-family: "bootstrap-icons" !important;
        font-size: 1.3rem !important;
        color: #ffffff !important;
        transition: transform 0.3s ease !important;
}

.custom-top-search button:hover::before {
        transform: scale(1.1) !important;
}

.card-modern {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: var(--space-md);
        border-radius: var(--radius-md);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        margin-bottom: var(--space-xl);
        color: #ffffff;
        transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.card-modern:hover {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-modern .card-img-top {
        border-radius: var(--radius-sm);
}

.card-modern .card-body {
        padding: 0;
        margin-top: var(--space-md);
}

.card-modern .title {
        color: #ffffff;
        transition: color 0.3s ease;
}

.card-modern .title:hover {
        color: rgba(255, 255, 255, 0.8);
}

.card-modern .text-muted,
.card-modern .metadata,
.card-modern .metadata i {
        color: #b3b3b3 !important;
}

.card-modern .content a:not(.btn):not(.taxonomy-badge),
.card-modern .content a:not(.btn):not(.taxonomy-badge) * {
        color: #82b1ff !important;
}

.card-modern .content a:not(.btn):not(.taxonomy-badge):hover,
.card-modern .content a:not(.btn):not(.taxonomy-badge):hover * {
        color: #ffffff !important;
}

.card-modern .card-body a:not(.btn):not(.taxonomy-badge):not(.title-link) {
        color: #ffffff;
}

.card-modern .card-body a:not(.btn):not(.taxonomy-badge):not(.title-link):hover {
        color: #b3b3b3;
}

.card-modern .btn-read-more {
        border: 3px solid #ffffff !important;
        color: #ffffff !important;
}

.card-modern .btn-read-more:hover {
        background: #ffffff !important;
        color: #000000 !important;
}
.btn-primary-gradient {
        background: var(--primary);
        border: none;
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: var(--font-size-base);
        transition: all 0.3s ease;
        box-shadow: var(--shadow-sm);
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
}

.btn-read-more {
        background: #111111 !important;
        color: #ffffff !important;
        clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
        padding: 5px 22px;
        font-size: 0.85rem;
        text-transform: uppercase;
        box-shadow: none !important;
}

.btn-read-more:hover {
        background: #333333 !important;
        color: #ffffff !important;
}

.btn-read-more i {
        margin-right: 0 !important;
}

.btn-primary-gradient:hover {
        background: var(--primary-dark);
        box-shadow: var(--shadow-hover);
        transform: translateY(-2px);
        color: white;
        text-decoration: none;
}

.btn-primary-gradient:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
}

footer.footer-modern {
        position: absolute;
        bottom: 0;
        width: 100%;
        line-height: 1.5;
        background: linear-gradient(180deg, rgba(28, 28, 28, 0.85) 0%, rgba(0, 0, 0, 0.92) 100%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: none;
        color: #b3b3b3;
        padding: 10px 0;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
        font-size: var(--font-size-xs);
}

footer.footer-modern::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

footer.footer-modern a {
        color: #b3b3b3;
        transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer.footer-modern a:hover {
        color: #ffffff;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.metadata {
        color: var(--text-secondary);
        font-size: var(--font-size-sm);
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-md);
        align-items: center;
}

.metadata i {
        color: var(--text-secondary);
        margin-right: 0.25rem;
}

.custom-pagination {
        gap: 8px;
}

.custom-pagination .page-link {
        background: #ffffff;
        border: 1px solid var(--border-color);
        color: var(--text-primary);
        padding: 0;
        border-radius: var(--radius-sm);
        font-weight: 600;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
}

.custom-pagination .page-link:hover {
        background: #111111;
        color: #ffffff;
        transform: translateY(-2px);
        border-color: #111111;
}

.custom-pagination .page-item.active .page-link {
        background: var(--primary-gradient);
        color: #ffffff;
        border-color: var(--primary);
        pointer-events: none;
}

.custom-pagination .page-item.disabled .page-link {
        background: transparent;
        box-shadow: none !important;
        pointer-events: none;
        width: auto;
}

.go-to-page-wrapper {
        background: #ffffff;
        padding: 0.3rem 0.5rem;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-color);
        height: 42px;
}

#custom-page-input {
        width: 60px;
        height: 100%;
        text-align: center;
        padding: 0 5px;
        border: 2px solid #111111 !important;
        border-radius: 4px;
        -moz-appearance: textfield;
        background-color: var(--bg-hover) !important;
}

#custom-page-input::-webkit-outer-spin-button,
#custom-page-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
}

#custom-page-input:focus {
        border-color: var(--primary) !important;
        outline: none;
        box-shadow: none;
}

.go-to-page-wrapper .btn {
        height: 100%;
        font-size: 0.85rem;
        padding: 0 12px;
        margin: 0;
        display: flex;
        align-items: center;
        border-radius: 4px;
}

.bi {
        margin-right: 0.5rem;
}

.post-taxonomy {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        align-items: center;
}

.taxonomy-badge {
        display: inline-block;
        padding: 0.3rem 1.1rem;
        clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
        font-size: var(--font-size-xs);
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
}

.taxonomy-category {
        background: #333333;
        color: #ffffff;
}

.taxonomy-category:hover {
        background: var(--primary);
        color: #ffffff;
}

.taxonomy-tag {
        background: #3d3d3d;
        color: #ffffff; 
        font-weight: 700;
        letter-spacing: 0.5px;
}

.taxonomy-tag:hover {
        background: #000000;
        color: #ffffff;
}

.feed-cover-image-wrapper {
        display: block;
        position: relative;
        overflow: hidden;
        border-radius: var(--radius-sm);
        margin-bottom: var(--space-md);
        text-decoration: none;
}

.feed-cover-image-wrapper img {
        display: block;
        max-height: 400px;
        width: 100%;
        object-fit: cover;
}

.post-cover-image-wrapper {
        display: block;
        position: relative;
        overflow: hidden;
        border-radius: var(--radius-sm);
        margin-bottom: var(--space-md);
        text-decoration: none;
        background-color: #f8f9fa;
}

.post-cover-image-wrapper img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 80vh;
        object-fit: contain;
        border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
        h1.title { font-size: 2.5rem; }
        h2.title { font-size: 2.2rem; }
        body { font-size: 0.95rem; }

        .btn-primary-gradient {
                width: 100%;
                justify-content: center;
        }

        .navbar .container {
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
        }
        .navbar-toggler { display: none !important; }

        .navbar-brand.site-brand-centered {
                margin: 0 auto !important;
                white-space: normal !important;
                text-align: center !important;
                max-width: 100%;
        }

        .site-brand-centered span {
                font-size: 2.2rem !important;
                line-height: 1.2 !important;
        }

        .custom-top-categories { margin-top: 10px !important; }
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

.lightbox-overlay img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active { display: flex; }
.lightbox-overlay.active img { transform: scale(1); }

.card.card-modern.my-5 {
        margin-top: 25px !important;
        margin-bottom: 25px !important;
}

.card-modern {
        padding: 10px !important;
}

.feed-cover-image-wrapper {
        margin-bottom: 5px !important;
}

.card-modern .card-body {
        margin-top: 5px !important;
}

h2.title {
        margin-bottom: 8px !important;
}

.metadata.mb-4 {
        margin-bottom: 5px !important;
}

.main-content-row {
        position: relative;
        margin-bottom: 80px;
}

.scrollable-tags {
        max-height: 180px;
        overflow-y: auto;
        align-content: flex-start;
        padding-right: 5px;
}

.scrollable-tags::-webkit-scrollbar {
        width: 6px;
}

.scrollable-tags::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
}

.scrollable-tags::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
}

.scrollable-tags::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
}

.scrollable-tags-full {
        max-height: none;
        overflow-y: visible;
}

.custom-pagination .page-link:active,
.go-to-page-wrapper .btn:active {
        transform: scale(1.1);
        transition: transform 0.1s ease;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.footer-copy {
        text-align: center;
        color: #cccccc;
        font-family: 'Nunito', sans-serif;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    font-size: 0.75rem;
}
.footer-links a {
    color: inherit;
    opacity: 0.8;
    text-decoration: none;
    white-space: nowrap;
}
.footer-links a:hover { opacity: 1; }
.footer-sep {
    opacity: 0.3;
    color: #ffffff;
}

@media (max-width: 767px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
    .footer-links {
        justify-content: center;
    }
}

/* --- ХЛЕБНЫЕ КРОШКИ (BREADCRUMBS) --- */
.custom-breadcrumb-nav {
        background: transparent;
        padding: 0;
}

.custom-breadcrumb {
        background-color: #000000;
        padding: 5px 25px;
        margin-bottom: 0;
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        box-shadow: var(--shadow-sm);
        clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%);
}

.custom-breadcrumb .breadcrumb-item {
        font-size: 0.85rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        text-transform: uppercase;
}

.custom-breadcrumb .breadcrumb-item a {
        color: var(--text-primary);
        text-decoration: none;
        transition: color 0.2s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
        color: #cccccc;
        text-decoration: underline;
}

.custom-breadcrumb .breadcrumb-item.active {
        color: var(--text-secondary);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 250px; /* Защита от слишком длинных заголовков */
}

/* Иконка стрелочки-разделителя между ссылками */
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        content: "\F285"; 
        font-family: "bootstrap-icons";
        font-size: 0.8rem;
        color: var(--text-muted);
        padding: 0 10px;
}

/* Адаптация под мобильные телефоны */
@media (max-width: 768px) {
        .custom-breadcrumb {
                padding: 5px 20px;
        }
        .custom-breadcrumb .breadcrumb-item {
                font-size: 0.75rem;
        }
        .custom-breadcrumb .breadcrumb-item.active {
                max-width: 150px;
        }
}

/* --- ПОХОЖИЕ ЗАПИСИ (RELATED POSTS) --- */
.related-posts-section {
}

.related-title {
        font-family: 'Caveat', cursive;
        font-size: 2.2rem;
        font-weight: 700;
        color: #D4AF37;
        text-align: center;
}

.related-post-card {
        display: flex;
        flex-direction: column;
        text-decoration: none;
        height: 100%;
        transition: transform 0.2s ease;
}

.related-post-card:hover {
        transform: translateY(-5px);
        text-decoration: none;
}

.related-post-img-wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: var(--radius-sm);
        background-color: #f5f5dc;
        border: 1px solid #e2e2c9;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
}

.related-post-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-img-wrapper img {
        transform: scale(1.05);
}

.related-post-title {
        font-family: 'Nunito', sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-primary);
        line-height: 1.3;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.2s ease;
}

.related-post-card:hover .related-post-title {
        color: #D4AF37;
}

/* --- КНОПКИ ПОДЕЛИТЬСЯ (SHARE BUTTONS) --- */
.post-share-section {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        padding: 20px 0;
        margin: 30px 0;
}

.share-label {
        font-family: 'Caveat', cursive;
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-right: 10px;
}

.share-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
}

.share-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background-color: var(--bg-hover);
        color: var(--text-secondary) !important;
        font-size: 1.1rem;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease !important;
        text-decoration: none !important;
}

/* Эффект при наведении (анимация прыжка + небольшое осветление цвета) */
.share-btn:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-sm);
        filter: brightness(1.2);
}

/* Фирменные цвета кнопок (всегда цветные) */
.share-btn.share-x {
        background-color: #000000;
        color: #ffffff !important;
        border-color: #000000;
}

.share-btn.share-tg {
        background-color: #229ED9;
        color: #ffffff !important;
        border-color: #229ED9;
}

.share-btn.share-wa {
        background-color: #25D366;
        color: #ffffff !important;
        border-color: #25D366;
}

.share-btn.share-rd {
        background-color: #FF4500;
        color: #ffffff !important;
        border-color: #FF4500;
}

.share-btn.share-copy {
        background-color: #6c757d;
        color: #ffffff !important;
        border-color: #6c757d;
        cursor: pointer;
}

.archive-main-title {
        font-family: 'Caveat', cursive;
        font-size: 2.7rem;
        font-weight: 700;
        color: var(--primary-dark);
        margin-top: 0px;
        margin-bottom: 30px;
        text-align: center;
}

@media (max-width: 768px) {
    .archive-main-title {
        font-size: 2.0rem;
    }
}

/* --- НАВИГАЦИЯ ПРОШЛЫЙ/СЛЕДУЮЩИЙ ПОСТ --- */
.post-nav-link {
        display: block;
        height: 100%;
        padding: 20px 22px;
        border-radius: var(--radius-md);
        background: linear-gradient(135deg, #141414, #0a0a0a);
        border: 1px solid #262626;
        text-decoration: none !important;
        transition: all 0.35s ease;
        position: relative;
        overflow: hidden;
}

.post-nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: #D4AF37;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.35s ease;
}

.post-nav-next::before {
        transform-origin: right;
}

.post-nav-link:hover {
        background: linear-gradient(135deg, #1b1b1b, #101010);
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
}

.post-nav-link:hover::before {
        transform: scaleX(1);
}

.post-nav-label {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #D4AF37;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
}

.post-nav-next .post-nav-label {
        justify-content: flex-end;
}

.post-nav-title {
        color: var(--text-primary);
        font-family: 'Nunito', sans-serif;
        font-weight: 700;
        font-size: 0.95rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
}

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

@media (max-width: 576px) {
        .post-nav-label {
                font-size: 0.65rem;
        }
        .post-nav-title {
                font-size: 0.85rem;
        }
}