/* MVBaks Frontend - Login en Public Pages */
/* Mosterd/Aardse kleuren schema voor frontend */
/* Optimized for performance and mobile responsiveness */

:root {
    --primary-mustard: #D4A574;
    --dark-mustard: #B8860B;
    --light-mustard: #F4E4BC;
    --earth-brown: #8B4513;
    --warm-beige: #F5F5DC;
    --charcoal: #36454F;
    --warm-gray: #696969;
    --accent-orange: #CD853F;
    --broken-white: #F8F6F0;
    --off-white: #FAFAFA;
    --navbar-dark: #494949;
    --navbar-light: #616161;
    --border-radius: 10px;
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;
    
    /* Typography Scale */
    --font-size-xs: 0.8rem;
    --font-size-sm: 0.9rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.4rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Frontend Body Styling */
body {
    font-family: 'SourceCodePro';
    background-color: var(--broken-white) !important;
    color: var(--charcoal);
    scroll-behavior: smooth;
}

/* Keep list markers in sync when content is aligned to the right */
.text-end ul,
.text-end ol,
ul.text-end,
ol.text-end,
.text-right ul,
.text-right ol,
ul.text-right,
ol.text-right,
[style*="text-align: right"] ul,
[style*="text-align:right"] ul,
[style*="text-align: right"] ol,
[style*="text-align:right"] ol,
ul[style*="text-align: right"],
ul[style*="text-align:right"],
ol[style*="text-align: right"],
ol[style*="text-align:right"] {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

.text-end ul li,
.text-end ol li,
ul.text-end li,
ol.text-end li,
.text-right ul li,
.text-right ol li,
ul.text-right li,
ol.text-right li,
[style*="text-align: right"] ul li,
[style*="text-align:right"] ul li,
[style*="text-align: right"] ol li,
[style*="text-align:right"] ol li,
ul[style*="text-align: right"] li,
ul[style*="text-align:right"] li,
ol[style*="text-align: right"] li,
ol[style*="text-align:right"] li {
    text-align: right;
}

/* Hide any floating debug elements */
body::before,
body::after,
html::before,
html::after {
    display: none !important;
}

/* Ensure no floating user elements outside menu */
.user-status-indicator:not(.side-menu .user-status-indicator) {
    display: none !important;
}

/* Frontend Hamburger Menu */
.frontend-hamburger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.frontend-hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger-icon span {
    width: 20px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--navbar-dark) 100%);
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
    color: var(--warm-beige);
}

.side-menu.active {
    left: 0;
}

.side-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.3);
    position: relative;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--warm-beige);
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.side-menu-content {
    padding: 0;
}

.side-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-menu-list li {
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.side-menu-list a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--warm-beige);
    text-decoration: none;
    transition: all 0.3s ease;
}

.side-menu-list a:hover {
    background: rgba(212, 165, 116, 0.1);
    border-left: 3px solid var(--primary-mustard);
    padding-left: 17px;
    color: var(--warm-beige) !important;
}


.menu-divider {
    height: 1px;
    background: rgba(212, 165, 116, 0.3);
    margin: 10px 0;
}

/* Side Menu Overlay */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-mustard);
    color: var(--charcoal);
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.scroll-to-top:hover {
    background: var(--dark-mustard);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Validation Styles */
.form-control.is-valid {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(205, 133, 63, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Enhanced Button States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-success {
    background: var(--accent-orange) !important;
    border-color: var(--accent-orange) !important;
}

.btn-danger {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* Frontend Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 2rem;
}

/* Frontend Navbar */
.navbar-dark {
    background: linear-gradient(135deg, var(--navbar-dark) 0%, var(--navbar-light) 100%) !important;
    border-bottom: 1px solid var(--charcoal);
}

.navbar-dark .navbar-brand {
    color: var(--light-mustard) !important;
}

.navbar-dark .navbar-brand:hover {
    color: var(--primary-mustard) !important;
}

.navbar-dark .nav-link {
    color: var(--warm-beige) !important;
}

.navbar-dark .nav-link:hover {
    color: var(--primary-mustard) !important;
}

.navbar-dark .dropdown-toggle::after {
    border-top-color: var(--warm-beige);
}

.navbar-dark .dropdown-toggle:hover::after {
    border-top-color: var(--primary-mustard);
}

.navbar-dark .navbar-toggler {
    border-color: var(--warm-beige);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28245, 245, 220, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Frontend Buttons */
.btn-primary {
    background-color: var(--primary-mustard);
    border-color: var(--primary-mustard);
    color: var(--charcoal);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--dark-mustard);
    border-color: var(--dark-mustard);
    color: white;
}

.btn-outline-primary {
    color: var(--primary-mustard);
    border-color: var(--primary-mustard);
}

.btn-outline-primary:hover {
    background-color: var(--primary-mustard);
    border-color: var(--primary-mustard);
    color: var(--charcoal);
}

/* Frontend Cards */
.card {
    border: 1px solid var(--light-mustard);
    box-shadow: 0 2px 4px rgba(212, 165, 116, 0.1);
    background-color: white;
}

.card-header {
    background-color: var(--light-mustard);
    border-bottom: 1px solid var(--primary-mustard);
    color: var(--charcoal);
    font-weight: 600;
}

/* Frontend Alerts */
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-info {
    background-color: var(--light-mustard);
    border-color: var(--primary-mustard);
    color: var(--charcoal);
}

/* Frontend Forms */
.form-control:focus {
    border-color: var(--primary-mustard);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-mustard);
    border-color: var(--primary-mustard);
}

/* Frontend Dropdown */
.dropdown-menu {
    border: 1px solid var(--light-mustard);
    box-shadow: 0 4px 6px rgba(212, 165, 116, 0.1);
    background-color: white;
}

.dropdown-item {
    color: var(--charcoal);
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: var(--light-mustard);
    color: var(--charcoal);
}

.dropdown-item:focus {
    background-color: var(--light-mustard);
    color: var(--charcoal);
}

.dropdown-divider {
    border-top: 1px solid var(--light-mustard);
    margin: 0.5rem 0;
}

/* Frontend Text Colors */
.text-muted {
    color: var(--warm-gray) !important;
}

.text-primary {
    color: var(--primary-mustard) !important;
}

.text-secondary {
    color: var(--warm-gray) !important;
}

.text-success {
    color: var(--accent-orange) !important;
}

.text-warning {
    color: var(--dark-mustard) !important;
}

.text-info {
    color: var(--light-mustard) !important;
}

.text-light {
    color: var(--warm-beige) !important;
}

.text-dark {
    color: var(--charcoal) !important;
}

/* Frontend Background Colors */
.bg-light {
    background-color: var(--warm-beige) !important;
}

.bg-white {
    background-color: var(--off-white) !important;
}

.bg-primary {
    background-color: var(--primary-mustard) !important;
}

.bg-secondary {
    background-color: var(--warm-gray) !important;
}

.bg-success {
    background-color: var(--accent-orange) !important;
}

.bg-warning {
    background-color: var(--dark-mustard) !important;
}

.bg-info {
    background-color: var(--light-mustard) !important;
}

.bg-dark {
    background-color: var(--charcoal) !important;
}

/* Frontend Border Colors */
.border {
    border-color: var(--light-mustard) !important;
}

.border-primary {
    border-color: var(--primary-mustard) !important;
}

.border-secondary {
    border-color: var(--warm-gray) !important;
}

.border-success {
    border-color: var(--accent-orange) !important;
}

.border-warning {
    border-color: var(--dark-mustard) !important;
}

.border-info {
    border-color: var(--light-mustard) !important;
}

.border-light {
    border-color: var(--warm-beige) !important;
}

.border-dark {
    border-color: var(--charcoal) !important;
}

/* Frontend Layout */
.container, .container-fluid {
    background-color: transparent;
    max-width: 100%
}

main {
    background-color: white;
    min-height: calc(100vh - 56px);
}

/* Login page specific styling */
.login-container {
    background-color: var(--broken-white);
    min-height: 100vh;
}

/* Ensure all white elements use our custom off-white */
.bg-white, .card, .modal-content, .dropdown-menu, .list-group-item, .table {
    background-color: var(--off-white) !important;
}

/* Frontend Tables */
.table {
    --bs-table-border-color: var(--light-mustard);
    background-color: white;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: var(--warm-beige);
}

.table-hover > tbody > tr:hover > td {
    background-color: var(--light-mustard);
}

/* Frontend Badges */
.badge {
    background-color: var(--primary-mustard);
    color: var(--charcoal);
}

.badge.bg-primary {
    background-color: var(--primary-mustard) !important;
}

.badge.bg-secondary {
    background-color: var(--warm-gray) !important;
}

.badge.bg-success {
    background-color: var(--accent-orange) !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-warning {
    background-color: var(--dark-mustard) !important;
    color: white !important;
}

.badge.bg-info {
    background-color: var(--light-mustard) !important;
    color: var(--charcoal) !important;
}

.badge.bg-light {
    background-color: var(--warm-beige) !important;
    color: var(--charcoal) !important;
}

.badge.bg-dark {
    background-color: var(--charcoal) !important;
}

/* Frontend Progress */
.progress-bar {
    background-color: var(--primary-mustard);
}

/* Frontend Pagination */
.pagination .page-link {
    color: var(--primary-mustard);
    border-color: var(--light-mustard);
    background-color: white;
}

.pagination .page-link:hover {
    background-color: var(--light-mustard);
    border-color: var(--primary-mustard);
    color: var(--charcoal);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-mustard);
    border-color: var(--primary-mustard);
    color: var(--charcoal);
}

/* Frontend List Groups */
.list-group-item {
    border-color: var(--light-mustard);
    background-color: white;
}

.list-group-item:hover {
    background-color: var(--warm-beige);
}

.list-group-item.active {
    background-color: var(--primary-mustard);
    border-color: var(--primary-mustard);
    color: var(--charcoal);
}

/* Frontend Navigation Tabs */
.nav-tabs .nav-link {
    color: var(--charcoal);
    border-color: var(--light-mustard);
    background-color: var(--broken-white);
}

.nav-tabs .nav-link:hover {
    border-color: var(--primary-mustard);
    color: var(--primary-mustard);
    background-color: white;
}

.nav-tabs .nav-link.active {
    color: var(--charcoal);
    background-color: white;
    border-color: var(--primary-mustard);
}

/* Frontend Modals */
.modal-header {
    background-color: var(--light-mustard);
    border-bottom: 1px solid var(--primary-mustard);
}

.modal-footer {
    border-top: 1px solid var(--light-mustard);
}

.btn-close {
    filter: invert(1);
}

/* Frontend Toasts */
.toast {
    background-color: var(--charcoal);
    color: white;
}

.toast-header {
    background-color: var(--primary-mustard);
    color: var(--charcoal);
    border-bottom: 1px solid var(--dark-mustard);
}

/* Frontend Spinners */
.spinner-border {
    color: var(--primary-mustard);
}

.spinner-grow {
    color: var(--primary-mustard);
}

/* ===== HOMEPAGE SPECIFIC STYLES ===== */

/* SourceCodePro Font Faces */
@font-face {
    font-family: 'SourceCodePro';
    src: url('/fonts/SourceCodePro-MediumItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceCodePro';
    src: url('/fonts/SourceCodePro-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SourceCodePro';
    src: url('/fonts/SourceCodePro-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Site Title Section (Top Right) */
.hero-title-section {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    text-align: right;
    z-index: 10;
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: black;
    font-style: italic;
    text-shadow: var(--shadow-sm);
    line-height: 1.2;
}

.hero-tagline {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: var(--charcoal);
    font-style: italic;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* Navigation Grid */
.nav-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-md);
    z-index: 10;
    width: 90%;
    max-width: 800px;
    height: 50%;
    max-height: 500px;
}

.nav-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px) scale(1.02);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-button span {
    color: var(--charcoal);
    font-style: italic;
    font-size: var(--font-size-xl);
    transition: all 0.3s ease;
    font-size: 2rem;
    font-weight: 100;
}

.nav-button:hover span {
    color: var(--charcoal);
    transform: scale(1.05);
}

/* Frontend Hamburger Menu (Within Nav) */
.frontend-hamburger-menu {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Side Menu (Slide-in from left) */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-image: url('/images/menu-background-MVBaks.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.side-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    z-index: -1;
}

.side-menu.active {
    left: 0;
}

.side-menu-header {
    margin-left: 75%;
    padding: 2rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-menu-header h3 {
    margin: 0;
    color: var(--charcoal);
    font-style: italic;
    font-weight: 500;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--charcoal);
    cursor: pointer;
    padding: 2px;
    width: 55px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-menu:hover {
    color: darkgray;
}

.side-menu-content {
    padding: 2rem 1.5rem;
}

.side-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu-list li {
    margin-bottom: 1rem;
}

.side-menu-list a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--charcoal);
    text-decoration: none;
    font-style: italic;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.35);
    /* border: 1px solid var(--light-mustard); */
    backdrop-filter: blur(3px);
}

.side-menu-list a:hover {
    /* background: var(--primary-mustard); */
    /* color: white; */
    transform: translateX(5px);
    backdrop-filter: blur(10px);
}

/* Side Menu Overlay */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hamburger Menu (Hero Section - Absolute Position) */
.hamburger-menu {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.hamburger-icon {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.hamburger-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background: black;
    border-radius: 1px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-icon span:nth-child(1) {
    transform-origin: top left;
}

.hamburger-icon span:nth-child(2) {
    opacity: 1;
}

.hamburger-icon span:nth-child(3) {
    transform-origin: bottom left;
}

/* Mobile responsiveness for homepage */
@media (max-width: 768px) {
    .hero-title-section {
        top: 1rem;
        right: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .portfolio-hero-tagline {
        font-size: 0.55rem;
    }

    .nav-grid {
        gap: 1rem;
        transform: translate(-50%, -40%);
    }

    .nav-button {
        padding: 2rem 2.5rem;
        min-width: 160px;
        min-height: 100px;
    }

    .nav-button span {
        font-size: 1.2rem;
    }

    nav {
        padding: 1rem;
    }

    .side-menu {
        width: 280px;
    }

    .hamburger-menu {
        right: 1rem;
    }

    .hamburger-icon {
        width: 45px;
        height: 45px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 0.8rem;
    }

    .portfolio-hero-tagline {
        font-size: 0.5rem;
    }

    .nav-grid {
        gap: 0.8rem;
    }

    .nav-button {
        padding: 1.5rem 2rem;
        min-width: 140px;
        min-height: 80px;
    }

    .nav-button span {
        font-size: 1rem;
    }

    nav {
        padding: 0.5rem;
    }

    .side-menu {
        width: 250px;
    }

    .side-menu-header {
        padding: 1.5rem 1rem 0.5rem;
    }

    .side-menu-content {
        padding: 1.5rem 1rem;
    }

    .hamburger-icon {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
}

/* Portfolio Highlight Section */
.portfolio-highlight-section {
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    padding: var(--spacing-lg) 0;
    margin: var(--spacing-md) 0;
}

.portfolio-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 15%,
        rgba(255, 255, 255, 0.4) 35%,
        rgba(255, 255, 255, 0.7) 55%,
        rgba(255, 255, 255, 0.85) 75%,
        rgba(255, 255, 255, 0.95) 100%
    );
    backdrop-filter: blur(0px);
    z-index: 2;
}

.portfolio-content {
    position: relative;
    /* right: 3rem; */
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: flex-end;
    padding: 0 5rem;
}

.portfolio-text {
    max-width: 500px;
    text-align: right;
    color: #36454F;
}

.portfolio-title {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #36454F;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.portfolio-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #36454F;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.portfolio-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #D4A574 0%, #B8860B 100%);
    color: #36454F;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    text-shadow: none;
}

.portfolio-btn:hover {
    background: linear-gradient(135deg, #B8860B 0%, #8B4513 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

/* Portfolio Section Responsive */
@media (max-width: 768px) {
    .portfolio-highlight-section {
        min-height: 60vh;
    }
    
    .portfolio-container {
        height: 60vh;
    }
    
    .portfolio-content {
        padding: 0 1.25rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .portfolio-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .portfolio-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .portfolio-gradient-overlay {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.7) 70%,
            rgba(255, 255, 255, 0.9) 90%,
            rgba(255, 255, 255, 0.95) 100%
        );
    }
}

@media (max-width: 480px) {
    .portfolio-content {
        padding: 0 0.75rem;
    }
    
    .portfolio-title {
        font-size: 1.8rem;
    }
    
    .portfolio-description {
        font-size: 0.95rem;
    }
    
    .portfolio-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Blog Highlight Section */
.blog-highlight-section {
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    padding: var(--spacing-lg) 0;
    margin: var(--spacing-md) 0;
}

.blog-container {
    position: relative;
    margin: auto auto;
    width: 100%;
    max-width: 1200px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    border-radius: var(--border-radius);
}

.blog-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/Placeholders/blog.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    border-radius: var(--border-radius);
}

.portfolio-show-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/Placeholders/portfolio.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    border-radius: var(--border-radius);
}

.blog-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 15%,
        rgba(255, 255, 255, 0.4) 35%,
        rgba(255, 255, 255, 0.7) 55%,
        rgba(255, 255, 255, 0.85) 75%,
        rgba(255, 255, 255, 0.95) 100%
    );
    backdrop-filter: blur(0px);
    z-index: 2;
}

.blog-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 3rem 0 5rem;
}

.portfolio-show-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 2rem;
}

.blog-text {
    max-width: 500px;
    text-align: left;
    color: #36454F;
}

.blog-title {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #36454F;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.blog-title-row {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.adult-content-badge-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55em;
    height: 1.55em;
    min-width: 1.55em;
    min-height: 1.55em;
    padding: 0;
    border-radius: 50%;
    font-size: 0.58em;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #fff;
    background: #0f1720;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    flex: 0 0 1.55em;
}
.adult-content-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: #121a21;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 0.47rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
    vertical-align: middle;
    text-shadow: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

/* Ensure title badges keep the larger, readable circular style when combined with .adult-content-badge */
.adult-content-badge.adult-content-badge-title {
    width: 1.55em;
    height: 1.55em;
    min-width: 1.55em;
    min-height: 1.55em;
    padding: 0;
    border-radius: 50%;
    font-size: 0.52em;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.005em;
    background: #0f1720;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    flex: 0 0 1.55em;
}

.adult-content-badge-sm {
    width: 1.05rem;
    height: 1.05rem;
    font-size: 0.44rem;
    margin-right: 0.12rem;
}

.adult-content-badge-overlay {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 4;
}
.blog-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #36454F;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.blog-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #D4A574 0%, #B8860B 100%);
    color: #36454F;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    text-shadow: none;
    border: 0;
}

.blog-btn:hover {
    background: linear-gradient(135deg, #B8860B 0%, #8B4513 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-meta span {
    font-size: 0.9rem;
    color: var(--warm-gray);
    padding: 0.25rem 0.75rem;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.blog-category {
    background: rgba(212, 165, 116, 0.2) !important;
    color: var(--earth-brown) !important;
    font-weight: 600;
}

.blog-reading-time::before {
    content: "⏱ ";
}

.blog-date::before {
    content: "📅 ";
}

/* Blog Section Responsive */
@media (max-width: 768px) {
    .blog-highlight-section {
        min-height: 60vh;
    }
    
    .blog-container {
        min-height: 60vh;
        width: 95% !important;
        max-width: none;
    }
    
    .blog-content {
        padding: 0 1.5rem;
        justify-content: center;
    }
    
    .blog-text {
        text-align: center;
        max-width: 100%;
    }
    
    .blog-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .blog-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-gradient-overlay {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.7) 70%,
            rgba(255, 255, 255, 0.9) 90%,
            rgba(255, 255, 255, 0.95) 100%
        );
    }
}

@media (max-width: 480px) {
    .blog-container {
        width: 95% !important;
        max-width: none;
    }
    
    .blog-content {
        padding: 0 1rem;
    }
    
    .blog-title {
        font-size: 1.8rem;
    }
    
    .blog-description {
        font-size: 0.95rem;
    }
    
    .blog-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .blog-meta {
        gap: 0.5rem;
        margin-bottom: 1rem;
        justify-content: center;
    }
    
    .blog-meta span {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Newsletter Section Button Styling */
.newsletter-section .btn-primary {
    background: linear-gradient(135deg, #D4A574 0%, #B8860B 100%);
    border: none;
    color: #36454F;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    text-shadow: none;
}

.newsletter-section .btn-primary:hover {
    background: linear-gradient(135deg, #B8860B 0%, #8B4513 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.newsletter-section .btn-primary:focus {
    background: linear-gradient(135deg, #B8860B 0%, #8B4513 100%);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.5);
}

.newsletter-section .form-control:focus {
    border-color: #D4A574;
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

/* Newsletter Section Title Styling */
.newsletter-section h2 {
    font-weight: 600;
    color: #36454F;
    margin-bottom: 1rem;
}

.newsletter-section .lead {
    color: #36454F;
    margin-bottom: 2rem;
}

/* Webshop Category Section */
.webshop-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
}

.webshop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.webshop-title {
    font-weight: 600;
    font-size: 2.5rem;
    text-align: center;
    color: #36454F;
    margin-bottom: 3rem;
}

.webshop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.webshop-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.webshop-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.webshop-image {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius);
}

.webshop-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(212, 165, 116, 0.95) 0%,
        rgba(212, 165, 116, 0.8) 50%,
        rgba(212, 165, 116, 0.4) 100%
    );
    color: #36454F;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.webshop-item:hover .webshop-overlay {
    transform: translateY(0);
}

.webshop-category {
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    color: #36454F;
}

.webshop-description {
    font-size: 0.9rem;
    margin: 0;
    color: #36454F;
    opacity: 0.9;
}

/* Webshop Section Responsive */
@media (max-width: 768px) {
    .webshop-section {
        padding: 3rem 0;
    }
    
    .webshop-container {
        padding: 0 1rem;
    }
    
    .webshop-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .webshop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .webshop-image {
        height: 250px;
    }
    
    .webshop-overlay {
        padding: 1rem;
        transform: translateY(0);
        background: linear-gradient(
            to top,
            rgba(212, 165, 116, 0.9) 0%,
            rgba(212, 165, 116, 0.7) 50%,
            rgba(212, 165, 116, 0.3) 100%
        );
    }
    
    .webshop-category {
        font-size: 1.1rem;
    }
    
    .webshop-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .webshop-section {
        padding: 2rem 0;
    }
    
    .webshop-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .webshop-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .webshop-image {
        height: 200px;
    }
    
    .webshop-overlay {
        padding: 0.8rem;
    }
    
    .webshop-category {
        font-size: 1rem;
    }
    
    .webshop-description {
        font-size: 0.8rem;
    }
}

/* Footer Section */
footer {
    background: linear-gradient(135deg, #242424 0%, #646464 100%);
    color: #F5F5DC;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: left;
}

.footer-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #D4A574;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #F5F5DC;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #D4A574;
    transform: translateX(5px);
}

/* Language Selector */
.language-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.language-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #F5F5DC;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.language-link:hover,
.language-link.active {
    color: #36454F;
    background: #D4A574;
    border-color: #B8860B;
}

.flag-emoji {
    font-size: 1.2rem;
    line-height: 1;
}

/* English-only for now: hide the language switch without removing logic */
.footer-section.footer-language {
    display: none;
}

/* Social Media Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #F5F5DC;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-width: 150px;
    justify-content: flex-start;
}

.social-link:hover {
    color: #36454F;
    background: #D4A574;
    border-color: #B8860B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 20px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(212, 165, 116, 0.3);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-credit {
    margin: 0;
    color: #F5F5DC;
    font-size: 0.9rem;
}

.credit-link {
    color: #D4A574;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.credit-link:hover {
    color: #F4E4BC;
    text-shadow: 0 0 5px rgba(212, 165, 116, 0.5);
}

/* Footer Responsive */
@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .social-link {
        min-width: auto;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .language-selector {
        gap: 0.5rem;
    }
    
    .language-link {
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .social-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .footer-credit {
        font-size: 0.85rem;
    }
}

/* ========================================
   LOGIN PAGE STYLING
   ======================================== */

/* Login Page Wrapper */
.login-page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 2rem 0;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 1rem;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-form-section {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 2rem;
    text-align: center;
}

.login-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.login-title--small {
    font-size: 1.75rem;
}

.login-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
    font-weight: 300;
}

.login-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #721c24;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-helper {
    display: flex;
    justify-content: flex-end;
    font-size: 0.9rem;
    color: #666;
}

.login-divider {
    border-top: 1px solid rgba(44, 44, 44, 0.12);
    margin: 2rem 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c2c2c;
    margin: 0;
}

.form-input {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(44, 44, 44, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    color: #2c2c2c;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-input:focus {
    outline: none;
    border-color: #8b7355;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.remember-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #8b7355;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    margin: 0;
}

.login-image-section {
    position: relative;
    overflow: hidden;
}

.login-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.login-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.login-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 115, 85, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(139, 115, 85, 0.15) 100%
    );
    backdrop-filter: blur(1px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .login-page-wrapper {
        padding: 1rem 0;
    }
    
    .login-container {
        min-height: calc(100vh - 150px);
        padding: 1rem;
    }
    
    .login-card {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .login-form-section {
        padding: 2rem 1.5rem;
    }
    
    .login-title {
        font-size: 2rem;
    }
    
    .login-image-section {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 1rem 0.5rem;
    }
    
    .login-form-section {
        padding: 1.5rem 1rem;
    }
    
    .login-title {
        font-size: 1.75rem;
    }
    
    .form-input {
        padding: 0.875rem 1rem;
    }
    
    .login-button {
        padding: 0.875rem 1.5rem;
    }
}

/* Social Sharing Styles */
.portfolio-social-sharing {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-social-sharing h6 {
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-share-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid;
}

.social-share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-share-buttons .btn i {
    font-size: 0.875rem;
}

/* Social Platform Specific Colors */
.social-share-buttons .btn-outline-primary:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.social-share-buttons .btn-outline-info:hover {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: #fff;
}

.social-share-buttons .btn-outline-danger:hover {
    background-color: #e60023;
    border-color: #e60023;
    color: #fff;
}

.social-share-buttons .btn-outline-success:hover {
    background-color: #25d366;
    border-color: #25d366;
    color: #fff;
}

.social-share-buttons .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

/* Responsive Social Sharing */
@media (max-width: 768px) {
    .social-share-buttons {
        flex-direction: column;
    }
    
    .social-share-buttons .btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .portfolio-social-sharing {
        margin-top: 1rem;
        padding: 0.75rem;
    }
    
    .social-share-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* Portfolio Hero Image Styles - No Lazy Loading */
.portfolio-hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* Image optimization indicators */
.image-optimization-info {
    display: none;
}

/* Performance monitoring styles */
.performance-metrics {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.performance-metrics h6 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.metric-value {
    color: #FFC107;
    font-weight: bold;
}

/* CDN integration styles */
.cdn-indicator {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    z-index: 2;
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    .portfolio-hero-image {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .portfolio-hero-image {
        aspect-ratio: 1/1;
    }
}

/* Portfolio Hero Section Styling */
.portfolio-hero-section {
    height: 70vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

/* Portfolio Hero Image - Duplicate definition removed */

.portfolio-hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.portfolio-hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: var(--spacing-xl);
}

.portfolio-hero-title {
    font-size: var(--font-size-5xl);
    color: black;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.2;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

.portfolio-hero-description {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.portfolio-hero-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.portfolio-hero-category {
    background: var(--primary-mustard);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.portfolio-hero-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.portfolio-hero-date i {
    color: var(--primary-mustard);
}

/* Responsive Design for Portfolio Hero */
@media (max-width: 768px) {
    .portfolio-hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .portfolio-hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .portfolio-hero-description {
        font-size: var(--font-size-lg);
    }
    
    .portfolio-hero-meta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .portfolio-hero-category,
    .portfolio-hero-date {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-sm);
    }
}

.portfolio-block-section {
    margin-bottom: var(--spacing-xl);
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.portfolio-blocks .portfolio-block-section:last-child {
    margin-bottom: 0;
}

/* Social Sharing */
.social-sharing {
    margin-top: var(--spacing-xl);
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.social-sharing h4 {
    color: var(--charcoal);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-buttons .btn-facebook {
    background: #1877f2;
    color: white;
}

.social-buttons .btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

.social-buttons .btn-twitter {
    background: #1da1f2;
    color: white;
}

.social-buttons .btn-twitter:hover {
    background: #1a91da;
    transform: translateY(-2px);
}

.social-buttons .btn-linkedin {
    background: #0077b5;
    color: white;
}

.social-buttons .btn-linkedin:hover {
    background: #006ba1;
    transform: translateY(-2px);
}

.social-buttons .btn-email {
    background: var(--primary-mustard);
    color: white;
}

.social-buttons .btn-email:hover {
    background: var(--dark-mustard);
    transform: translateY(-2px);
}

/* Portfolio Block Styling */
.portfolio-block .portfolio-container {
    display: flex;
    gap: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.portfolio-block .portfolio-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 400px;
}

.portfolio-block .portfolio-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.8), rgba(139, 69, 19, 0.6));
}

.portfolio-block .portfolio-content {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
}

.portfolio-block .portfolio-text {
    width: 100%;
}

.portfolio-block .portfolio-title {
    font-size: var(--font-size-3xl);
    color: var(--charcoal);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    line-height: 1.2;
}

.portfolio-block .portfolio-description {
    font-size: var(--font-size-lg);
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.portfolio-block .portfolio-description:last-child {
    margin-bottom: 0;
}

/* Video Play Button */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button .play-icon {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

/* Video Live Indicator */
.video-live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 15;
}

.live-badge {
    background: #ff0000;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Video Live Indicator */
.video-live-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.live-badge {
    background: #ff0000;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Gallery Grid */
.block-gallery {
    padding: var(--spacing-lg);
}

@media (max-width: 768px) {
    .block-gallery {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .block-gallery {
        padding: var(--spacing-sm);
    }
}

.gallery-grid {
    --gallery-columns: auto-fit;
    --gallery-min-size: 200px;
    --gallery-gap: var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(var(--gallery-columns), minmax(var(--gallery-min-size), 1fr));
    gap: var(--gallery-gap);
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-grid .gallery-item-content,
.gallery-grid .gallery-item-simple {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-grid .gallery-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-grid .gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: var(--border-radius);
}

.gallery-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    font-weight: 600;
}

.gallery-item-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 0.5rem 1rem 1rem;
    font-size: 0.875rem;
}

/* Portfolio Section Styling (for homepage portfolio sections) */
.portfolio-section {
    margin-bottom: var(--spacing-xl);
}

.portfolio-section .portfolio-container {
    display: flex;
    gap: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 400px;
}

.portfolio-section .portfolio-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.portfolio-section .portfolio-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.8), rgba(139, 69, 19, 0.6));
}

.portfolio-section .portfolio-content {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
}

.portfolio-section .portfolio-text {
    width: 100%;
}

.portfolio-section .portfolio-title {
    font-size: var(--font-size-3xl);
    color: var(--charcoal);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    line-height: 1.2;
}

.portfolio-section .portfolio-description {
    font-size: var(--font-size-lg);
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.portfolio-section .portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-mustard);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-section .portfolio-btn:hover {
    background: var(--dark-mustard);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design for Portfolio Sections */
@media (max-width: 768px) {
    .portfolio-section .portfolio-container {
        flex-direction: column;
        gap: 0;
    }
    
    .portfolio-section .portfolio-image {
        min-height: 250px;
    }
    
    .portfolio-section .portfolio-content {
        padding: var(--spacing-md);
    }
    
    .portfolio-section .portfolio-title {
        font-size: var(--font-size-2xl);
    }
    
    .portfolio-section .portfolio-description {
        font-size: var(--font-size-base);
    }
    
    .portfolio-section .portfolio-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   PORTFOLIO DETAIL PAGE STYLING
   ======================================== */

/* Portfolio Detail Page */
.portfolio-detail-page {
    min-height: 100vh;
}

/* Portfolio Hero Title Section (Top Right) - Website title only */
.portfolio-hero-title-section {
    position: absolute;
    top: 2rem;
    right: 2rem;
    text-align: right;
    z-index: 5;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.portfolio-hero-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin: 0;
    font-style: italic;
    line-height: 1.2;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: #F8F6F0;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E5E5;
}

.breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

.breadcrumb-item a {
    color: #D4A574;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #B8860B;
}

.breadcrumb-item.active {
    color: #36454F;
}

/* Portfolio Hero Section */
.portfolio-hero-section {
    height: 85vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.portfolio-hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.portfolio-hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 1));
}

.portfolio-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 15;
    padding: var(--spacing-xl);
    padding-bottom: var(--spacing-2xl);
    overflow-y: auto;
}

.portfolio-hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    width: 100%;
    max-width: 800px;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
    margin-top: 10rem;
    margin-bottom: var(--spacing-2xl);
    min-height: auto;
    position: relative;
    z-index: 20;
}

.portfolio-hero-card-title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    /* margin: 0 0 var(--spacing-md) 0; */
    color: black;
    text-align: center;
}

.portfolio-hero-card-description {
    font-size: var(--font-size-lg);
    color: black;
    margin: 0 0 var(--spacing-lg) 0;
    text-align: center;
    line-height: 1.6;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.portfolio-hero-card-description p {
    margin: 0 0 var(--spacing-sm) 0;
}

.portfolio-hero-card-description p:last-child {
    margin-bottom: 0;
}

.portfolio-standard-metadata {
    display: grid;
    /* gap: 0.5rem; */
    width: min(100%, 560px);
    margin: 0 auto var(--spacing-lg);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    text-align: left;
}

.portfolio-show-metadata {
    width: min(100%, 560px);
    margin: 0 0 var(--spacing-sm);
    text-align: right;
}

.portfolio-show-metadata-wrap {
    display: flex;
    justify-content: flex-end;
}

.portfolio-show-metadata .portfolio-standard-metadata__item {
    grid-template-columns: minmax(23rem, auto) minmax(0, 1fr);
    column-gap: 0.45rem;
    row-gap: 0.15rem;
    text-align: right;
}

.portfolio-show-metadata dt,
.portfolio-show-metadata dd {
    justify-self: end;
    text-align: right;
}

.portfolio-standard-metadata__item {
    display: grid;
    grid-template-columns: minmax(130px, auto) 1fr;
    gap: 0.75rem;
    align-items: baseline;
}

.portfolio-detail-page .portfolio-show-metadata .portfolio-standard-metadata__item {
    gap: 0.15rem 0.45rem;
}

.portfolio-standard-metadata dt,
.portfolio-standard-metadata dd {
    margin: 0;
}

.portfolio-standard-metadata dt {
    font-size: 0.9rem;
    font-weight: 600;
    color: #36454F;
}

.portfolio-standard-metadata dd {
    font-size: 0.95rem;
    color: #2f3f49;
}


.portfolio-hero-text {
    text-align: center;
    color: white;
    padding: var(--spacing-xl);
    max-width: 800px;
}

.portfolio-blocks {
    margin-bottom: 3rem;
}

.portfolio-block {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #FAFAFA;
    border-radius: 12px;
    border-left: 4px solid #D4A574;
}

.portfolio-block h3,
.portfolio-block .block-title {
    color: #2C3E50;
    margin-bottom: 1.5rem;
    font-family: 'Source Code Pro', monospace;
}

/* Block-specific styling */
.portfolio-block-text .block-content {
    line-height: 1.8;
    color: #444;
}

.portfolio-block-image .block-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.portfolio-block-image .image-caption {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
    text-align: center;
}

.portfolio-block-gallery .gallery-grid {
    display: grid;
    --gallery-gap: 1rem;
    --gallery-min-size: 0;
    gap: 1rem;
    margin-top: 1rem;
}

.portfolio-block-gallery .gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-block-gallery .gallery-item:hover {
    transform: scale(1.05);
}

.portfolio-block-gallery .gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.portfolio-block-gallery.align-center {
    margin-left: auto;
    margin-right: auto;
}

.portfolio-block-gallery .portfolio-text-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
}

/* Centered gallery block layout (portfolio & blog) */
.portfolio-block-gallery {
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.portfolio-block-gallery .portfolio-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.portfolio-block-gallery .portfolio-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
}

.portfolio-block-gallery .block-gallery {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    width: 100%;
}

@media (max-width: 768px) {
    .portfolio-blocks {
        margin-bottom: var(--spacing-md);
    }
    
    .portfolio-block {
        margin-bottom: 1.5rem;
        padding: 1.25rem;
    }
    
    .portfolio-block .portfolio-content {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .portfolio-block {
        margin-bottom: 1.25rem;
        padding: 1rem;
    }
}

.portfolio-block-video .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
}

.portfolio-block-video .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.portfolio-block-video .video-caption {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
    text-align: center;
}

.portfolio-block-quote .block-quote {
    background: #F8F6F0;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #D4A574;
}

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #2C3E50;
    margin: 0;
    line-height: 1.6;
    background-color: var(--broken-white);
    padding: 2rem;
    border-radius: var(--border-radius);
}
.quoteOfBlockQuote {
    font-size: 2rem;
}

.portfolio-block-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    text-align: right;
}

.portfolio-block-spacer {
    padding: 0;
    background: transparent;
    border: none;
    border-left: 0;
    box-shadow: none;
    min-height: 0;
}

.portfolio-block-spacer .block-spacer {
    background: transparent;
}

.portfolio-block-divider .block-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #D4A574, transparent);
    margin: 2rem 0;
}

.portfolio-block-custom-html .block-custom-html {
    line-height: 1.6;
}

.portfolio-preview-block {
    margin-bottom: 3rem;
}

.portfolio-preview-block .portfolio-title {
    color: var(--charcoal);
}

.portfolio-preview-description {
    color: var(--warm-gray);
    line-height: 1.7;
}

.portfolio-container.product-preview-block {
    display: block;
    min-height: auto;
    align-items: stretch;
    margin-bottom: 3rem;
    overflow: visible;
    border-radius: 0;
}

.product-preview-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--light-mustard);
    border-radius: var(--border-radius);
    box-shadow: 0 12px 30px rgba(54, 69, 79, 0.08);
}

.product-preview-media {
    display: block;
    border-radius: calc(var(--border-radius) - 2px);
    overflow: hidden;
    background: var(--warm-beige);
    min-height: 220px;
}

.product-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-preview-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-preview-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray);
    font-weight: 600;
}

.product-preview-title {
    margin: 0;
    font-size: 1.8rem;
    color: var(--charcoal);
}

.product-preview-title a {
    color: inherit;
    text-decoration: none;
}

.product-preview-title a:hover {
    color: var(--primary-mustard);
}

.product-preview-description {
    margin: 0;
    color: var(--warm-gray);
    line-height: 1.6;
}

.product-preview-cta {
    align-self: flex-start;
}

@media (max-width: 900px) {
    .product-preview-card {
        grid-template-columns: 1fr;
    }

    .product-preview-media {
        min-height: 240px;
    }
}

.block-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
    --gallery-columns: auto-fit;
    --gallery-min-size: 200px;
    --gallery-gap: 1rem;
    display: grid;
    grid-template-columns: repeat(var(--gallery-columns), minmax(var(--gallery-min-size), 1fr));
    gap: var(--gallery-gap);
    margin-top: 1rem;
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Social Sharing */
.social-sharing {
    background: #F8F6F0;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.social-sharing h4 {
    color: #2C3E50;
    margin-bottom: 1.5rem;
    font-family: 'Source Code Pro', monospace;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-facebook {
    background: #3b5998;
    color: white;
    border: none;
}

.btn-facebook:hover {
    background: #2d4373;
    color: white;
    transform: translateY(-2px);
}

.btn-twitter {
    background: #1da1f2;
    color: white;
    border: none;
}

.btn-twitter:hover {
    background: #0d8bd9;
    color: white;
    transform: translateY(-2px);
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    border: none;
}

.btn-linkedin:hover {
    background: #005885;
    color: white;
    transform: translateY(-2px);
}

.btn-email {
    background: #D4A574;
    color: white;
    border: none;
}

.btn-email:hover {
    background: #B8860B;
    color: white;
    transform: translateY(-2px);
}

/* Portfolio Sidebar */
/* Portfolio Details */
.portfolio-details-section {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.portfolio-details-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: clamp(1.75rem, 2vw, 2.75rem);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.75rem, 3vw, 3rem);
    align-items: flex-start;
}

.portfolio-details-overview {
    flex: 1 1 320px;
    max-width: 640px;
}

.portfolio-details-title {
    color: #2c3e50;
    font-family: 'Source Code Pro', monospace;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    margin-bottom: 1rem;
}

.portfolio-details-description {
    color: #4f4f4f;
    line-height: 1.7;
    font-size: 1rem;
}

.portfolio-details-meta {
    flex: 1 1 240px;
    min-width: 220px;
    display: grid;
    gap: 1.25rem;
}

.portfolio-details-meta .detail-item {
    background: linear-gradient(135deg, rgba(248, 246, 240, 0.9), rgba(255, 255, 255, 0.9));
    border: 1px solid #efe9df;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

.portfolio-details-meta .detail-item:hover {
    border-color: #e0d7c8;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.portfolio-details-meta .detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8c816b;
    font-weight: 600;
}

.portfolio-details-meta .detail-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.02em;
}

@media (max-width: 992px) {
    .portfolio-details-card {
        flex-direction: column;
        align-items: stretch;
    }

    .portfolio-details-meta {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .portfolio-details-card {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }

    .portfolio-details-meta {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .portfolio-details-meta .detail-item {
        padding: 0.75rem 1rem;
        border-radius: 10px;
        box-shadow: none;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: baseline;
    }

    .portfolio-details-meta .detail-label {
        font-size: 0.75rem;
    }

    .portfolio-details-meta .detail-value {
        font-size: 1rem;
    }
}

/* Legal Pages */
.legal-page-container {
    padding-bottom: 4rem;
}

.legal-page--portfolio .legal-hero-section {
    min-height: 520px;
    max-height: none;
    height: auto;
}

.legal-page--portfolio .legal-hero-image {
    background: radial-gradient(circle at top right, rgba(212, 165, 116, 0.2), rgba(248, 246, 240, 0.9) 40%, #f7f4ed 100%);
}

.legal-page--portfolio .legal-hero-gradient-overlay {
    background: linear-gradient(to bottom, rgba(247, 244, 237, 0.15), rgba(247, 244, 237, 1));
}

.legal-page--portfolio .legal-hero-card {
    margin-top: clamp(6rem, 16vh, 9rem);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    text-align: left;
    max-width: 860px;
}

.legal-page--portfolio .portfolio-hero-card-title {
    text-align: left;
    margin-bottom: 0.35rem;
}

.legal-breadcrumb {
    font-size: 0.9rem;
    color: #7f735f;
    margin-bottom: 0.9rem;
}

.legal-breadcrumb a {
    color: #7f735f;
    text-decoration: none;
}

.legal-breadcrumb a:hover {
    text-decoration: underline;
}

.legal-page-subtitle {
    margin-top: 0.35rem;
    color: #7f735f;
    font-size: 0.95rem;
}

.legal-page-content {
    margin-top: -5.5rem;
    position: relative;
    z-index: 20;
}

.legal-document,
.cookie-settings-card {
    background: #ffffff;
    border: 1px solid #ece6db;
    border-radius: 18px;
    padding: clamp(1.5rem, 2vw, 2.25rem);
    box-shadow: 0 18px 42px rgba(32, 24, 14, 0.08);
}

.legal-content {
    color: #4d473d;
    line-height: 1.8;
    font-size: 1.02rem;
}

.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-toc h2,
.toTitle,
.tosSubTitle {
    color: #2c3e50;
    font-family: 'Source Code Pro', monospace;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
    margin-top: 1.75rem;
}

.legal-toc {
    background: linear-gradient(135deg, rgba(248, 246, 240, 0.95), rgba(255, 255, 255, 0.95));
    border: 1px solid #efe9df;
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

.legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.legal-actions .privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #e6dcc8;
    background: linear-gradient(135deg, rgba(248, 246, 240, 0.95), rgba(255, 255, 255, 0.95));
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
}

.legal-actions .privacy-link:hover {
    border-color: #d8c6a8;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.legal-card {
    background: linear-gradient(135deg, rgba(248, 246, 240, 0.95), rgba(255, 255, 255, 0.95));
    border: 1px solid #efe9df;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
}

/* Cookie settings actions */
.cookie-settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-settings-actions .cookie-btn {
    border-radius: 12px;
}

@media (max-width: 768px) {
    .legal-page--portfolio .legal-hero-section {
        min-height: 440px;
    }

    .legal-page--portfolio .legal-hero-card {
        margin-top: 5.5rem;
        padding: 1.25rem;
    }

    .legal-page-content {
        margin-top: -3.25rem;
    }

    .legal-document,
    .cookie-settings-card {
        padding: 1.25rem;
        border-radius: 14px;
        box-shadow: none;
    }
}

/* Portfolio Access Gate */
.portfolio-access-gate {
    padding: 3rem 0;
}

.access-gate-card {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(210, 190, 160, 0.35);
}

.access-gate-visual {
    flex: 1 1 320px;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.access-gate-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 21, 17, 0.55), rgba(24, 21, 17, 0.05));
}

.access-gate-visual--placeholder {
    background: linear-gradient(135deg, #f0ede5, #f9f6ef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b19a7f;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.access-gate-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    color: #7c5f2b;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 16px rgba(124, 95, 43, 0.15);
}

.access-gate-content {
    flex: 1 1 380px;
    padding: clamp(2rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

.access-gate-level {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8c816b;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.access-gate-title {
    font-size: clamp(2rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.access-gate-preview {
    color: #4d473d;
    line-height: 1.75;
    font-size: 1.05rem;
}

.access-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gate-btn {
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.gate-btn-primary {
    background: linear-gradient(135deg, #7c5f2b, #a8823f);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(124, 95, 43, 0.25);
}

.gate-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(124, 95, 43, 0.3);
}

.gate-btn-secondary {
    background: #f2ece2;
    color: #7c5f2b;
    border: 1px solid rgba(124, 95, 43, 0.25);
}

.gate-btn-secondary:hover {
    background: #ede4d5;
}

.gate-btn-disabled {
    background: #f0f0f0;
    color: #9c9c9c;
    cursor: not-allowed;
}

.gate-btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

.gate-btn:disabled {
    pointer-events: none;
}

.gate-btn.w-100 {
    width: 100%;
}

.access-gate-note {
    font-size: 0.9rem;
    color: #8c816b;
    margin: 0;
}

.access-gate-upgrade {
    margin-top: 2.5rem;
}

.auth-modal .modal-content {
    border-radius: 16px;
    border: 1px solid rgba(210, 190, 160, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.auth-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.auth-explainer {
    color: #4d473d;
    font-size: 1rem;
}

.auth-feedback {
    margin-bottom: 1rem;
}

.auth-inline-link {
    background: none;
    border: none;
    padding: 0;
    color: #7c5f2b;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-inline-link:hover {
    color: #a8823f;
}

.auth-consent {
    line-height: 1.5;
}

.support-amount-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.support-amount {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 95, 43, 0.3);
    border-radius: 12px;
    padding: 0.85rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    color: #7c5f2b;
}

.support-amount span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.support-amount input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.support-amount:hover {
    border-color: #7c5f2b;
    box-shadow: 0 10px 20px rgba(124, 95, 43, 0.15);
}

.support-amount input:checked + span {
    background: linear-gradient(135deg, #7c5f2b, #a8823f);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(124, 95, 43, 0.25);
}

.support-cycle-toggle {
    display: inline-flex;
    gap: 0.5rem;
    background: #f7f3eb;
    border-radius: 999px;
    padding: 0.35rem;
}

.support-cycle-toggle label {
    position: relative;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    color: #7c5f2b;
    cursor: pointer;
}

.support-cycle-toggle span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 999px;
}

.support-cycle-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.support-cycle-toggle input:checked + span {
    background: #ffffff;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 8px 18px rgba(124, 95, 43, 0.15);
}

@media (max-width: 992px) {
    .access-gate-card {
        flex-direction: column;
    }

    .access-gate-visual {
        min-height: 220px;
    }

    .access-gate-actions {
        flex-direction: column;
    }

    .support-amount-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Portfolio Access Gate */
.portfolio-access-gate {
    padding: 3rem 0;
}

.access-gate-card {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(210, 190, 160, 0.35);
}

.access-gate-visual {
    flex: 1 1 320px;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.access-gate-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 21, 17, 0.55), rgba(24, 21, 17, 0.05));
}

.access-gate-visual--placeholder {
    background: linear-gradient(135deg, #f0ede5, #f9f6ef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b19a7f;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.access-gate-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    color: #7c5f2b;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 16px rgba(124, 95, 43, 0.15);
}

.access-gate-content {
    flex: 1 1 380px;
    padding: clamp(2rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

.access-gate-level {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8c816b;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.access-gate-title {
    font-size: clamp(2rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.access-gate-preview {
    color: #4d473d;
    line-height: 1.75;
    font-size: 1.05rem;
}

.access-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gate-btn {
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.gate-btn-primary {
    background: linear-gradient(135deg, #7c5f2b, #a8823f);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(124, 95, 43, 0.25);
}

.gate-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(124, 95, 43, 0.3);
}

.gate-btn-secondary {
    background: #f2ece2;
    color: #7c5f2b;
    border: 1px solid rgba(124, 95, 43, 0.25);
}

.gate-btn-secondary:hover {
    background: #ede4d5;
}

.gate-btn-disabled {
    background: #f0f0f0;
    color: #9c9c9c;
    cursor: not-allowed;
}

.gate-btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

.gate-btn:disabled {
    pointer-events: none;
}

.gate-btn.w-100 {
    width: 100%;
}

.access-gate-note {
    font-size: 0.9rem;
    color: #8c816b;
    margin: 0;
}

.access-gate-upgrade {
    margin-top: 2.5rem;
}

.auth-modal .modal-content {
    border-radius: 16px;
    border: 1px solid rgba(210, 190, 160, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.auth-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.auth-explainer {
    color: #4d473d;
    font-size: 1rem;
}

.auth-feedback {
    margin-bottom: 1rem;
}

.auth-inline-link {
    background: none;
    border: none;
    padding: 0;
    color: #7c5f2b;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-inline-link:hover {
    color: #a8823f;
}

.auth-consent {
    line-height: 1.5;
}

.support-amount-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.support-amount {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 95, 43, 0.3);
    border-radius: 12px;
    padding: 0.85rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    color: #7c5f2b;
}

.support-amount input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.support-amount:hover {
    border-color: #7c5f2b;
    box-shadow: 0 10px 20px rgba(124, 95, 43, 0.15);
}

.support-amount input:checked + span,
.support-amount input:checked ~ span {
    color: #ffffff;
}

.support-amount input:checked ~ span,
.support-amount input:checked + span,
.support-amount input:checked ~ span::before {
    background: linear-gradient(135deg, #7c5f2b, #a8823f);
    border-radius: 12px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.support-cycle-toggle {
    display: inline-flex;
    gap: 0.5rem;
    background: #f7f3eb;
    border-radius: 999px;
    padding: 0.35rem;
}

.support-cycle-toggle label {
    position: relative;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    color: #7c5f2b;
    cursor: pointer;
}

.support-cycle-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.support-cycle-toggle input:checked + span,
.support-cycle-toggle input:checked ~ span {
    background: #ffffff;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 8px 18px rgba(124, 95, 43, 0.15);
}

@media (max-width: 992px) {
    .access-gate-card {
        flex-direction: column;
    }

    .access-gate-visual {
        min-height: 220px;
    }

    .access-gate-actions {
        flex-direction: column;
    }

    .support-amount-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.related-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F0F0F0;
}

.related-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-item a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-item a:hover {
    color: #D4A574;
}

.related-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-content h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #2C3E50;
}

.related-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Portfolio Navigation */
.portfolio-navigation {
    background: #F8F6F0;
    padding: 3rem 0;
    border-top: 1px solid #E5E5E5;
}

.nav-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 2rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-btn-prev {
    grid-column: 1;
    justify-self: flex-start;
}

.nav-btn-center {
    grid-column: 2;
    justify-self: center;
}

.nav-btn-next {
    grid-column: 3;
    justify-self: flex-end;
}

.nav-btn-prev {
    justify-content: flex-start;
}

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

.nav-btn-center {
    justify-content: center;
    min-width: auto;
}

.nav-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-btn-text small {
    font-size: 0.8rem;
    opacity: 0.7;
}

.nav-btn-text strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.no-blocks {
    text-align: center;
    padding: 3rem;
    color: #666;
    background: #FAFAFA;
    border-radius: 12px;
    border: 2px dashed #E5E5E5;
}

/* Portfolio Detail Page Responsive Design */
@media (max-width: 768px) {
    .portfolio-hero-title-section {
        top: 1rem;
        right: 1rem;
        max-width: 250px;
        padding: var(--spacing-sm);
    }

    .portfolio-hero-title {
        font-size: 1.5rem;
    }
    
    .portfolio-hero-content {
        padding: var(--spacing-md);
        padding-bottom: var(--spacing-lg);
    }

    .portfolio-hero-card {
        width: 95%;
        max-width: 95vw;
        padding: var(--spacing-md);
    }

    .portfolio-detail-page .portfolio-hero-card,
    .portfolio-detail-page .portfolio-hero-card-description {
        max-width: 95vw;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-detail-page .portfolio-hero-card-description {
        text-align: left;
    }
    
    .portfolio-hero-card-title {
        font-size: var(--font-size-2xl);
    }
    
    .portfolio-hero-card-description {
        font-size: var(--font-size-md);
        margin-bottom: var(--spacing-md);
    }
    
    .portfolio-hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .nav-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-btn {
        min-width: auto;
        width: 100%;
    }
    
    .nav-btn-prev,
    .nav-btn-center,
    .nav-btn-next {
        justify-self: stretch;
    }
    
    .gallery-grid {
        --gallery-min-size: 0;
        --gallery-gap: 0.75rem;
    }
    
    .related-item a {
        flex-direction: column;
        text-align: center;
    }
    
    .related-thumbnail {
        width: 100%;
        height: 120px;
    }

    /* Widen text and gallery blocks on mobile for readability */
    .portfolio-detail-page > .portfolio-content {
        padding: 0 2.5vw;
    }

    .portfolio-detail-page > .portfolio-content > .container {
        max-width: 95vw;
        padding-left: 0;
        padding-right: 0;
    }

    .portfolio-detail-page .portfolio-container,
    .portfolio-detail-page .portfolio-block-gallery .block-gallery {
        max-width: 95vw;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-detail-page .block-gallery {
        padding: 0.75rem 0;
    }

    .portfolio-detail-page .portfolio-container > .portfolio-content {
        padding: 0.5rem 0;
        flex-direction: column;
        align-items: center;
    }

    .portfolio-detail-page .portfolio-text,
    .portfolio-detail-page .portfolio-description {
        max-width: 95vw;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .portfolio-detail-page .portfolio-block-gallery .portfolio-text {
        text-align: center;
    }

    .portfolio-detail-page .gallery-grid {
        --gallery-columns: auto-fit;
        --gallery-min-size: 150px;
        --gallery-gap: 0.75rem;
        width: 95vw;
        max-width: 95vw;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .portfolio-hero-title-section {
        top: 0.5rem;
        right: 0.5rem;
        max-width: 200px;
        padding: var(--spacing-xs);
    }

    .portfolio-hero-title {
        font-size: 1.25rem;
    }
    
    .portfolio-hero-content {
        padding: var(--spacing-sm);
        padding-bottom: var(--spacing-md);
    }

    .portfolio-hero-card {
        width: 95%;
        padding: var(--spacing-sm);
    }

    .portfolio-detail-page > .portfolio-content {
        padding: 0 2vw;
    }

    .portfolio-detail-page .gallery-grid {
        --gallery-min-size: 140px;
    }
    
    .portfolio-hero-card-title {
        font-size: var(--font-size-xl);
    }
    
    .portfolio-hero-card-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-sm);
    }
}

/* ========================================
   PORTFOLIO OVERVIEW PAGE STYLING
   ======================================== */

/* Portfolio Overview Page */
.portfolio-overview-page {
    min-height: 100vh;
}

/* Site Title Section (Top Right) - Same as homepage */
.hero-title-section {
    position: absolute;
    right: var(--spacing-lg);
    text-align: right;
    z-index: 10;
}

.hero-tagline {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: var(--charcoal);
    font-style: italic;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

.portfolio-hero-tagline {
    font-size: var(--font-size-lg);
    font-weight: 300;
    font-style: italic;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    color: black;
}

.portfolio-grid-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    margin-bottom: 5rem;
}

.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}


.portfolio-container .portfolio-content {
    padding: 4rem 2rem;
}

.quote-portfolio-content{
    justify-content: center !important;
}

.portfolio-container {
    position: relative;
    margin: 0 auto;
    width: 100%;
    min-height: 35vh;
    display: flex;
    align-items: center;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.portfolio-video-image{
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.portfolio-video-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 70%,
        rgba(255, 255, 255, 0.9) 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.portfolio-video-image:hover::before {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 70%,
        rgba(255, 255, 255, 0.95) 100%
    );
}

.portfolio-container-video{
    display: block;
    height: 55vh
}

.portfolio-image {
    position: relative;
    top: 0;
    left: 12.5%;
    /* width: 75%; */
    height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius);
    z-index: 1;
    margin-top: 2rem;
}
.portfolio-image{
    width: 100%;
}

.portfolio-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

.portfolio-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    font-size: 2rem;
}

.portfolio-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.portfolio-btn {
    display: inline-block;
    background: var(--primary-mustard);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-md);
    transition: all 0.3s ease;
    text-shadow: none;
    border: 2px solid var(--primary-mustard);
}

.portfolio-btn:hover {
    background: transparent;
    color: var(--primary-mustard);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Category Badge Styling */
.portfolio-category {
    margin-bottom: var(--spacing-md);
}

.category-badge {
    display: inline-block;
    background: var(--primary-mustard);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Portfolio Overview Page Responsive Design */
@media (max-width: 768px) {
    .hero-title-section {
        top: 1.5rem;
        right: 1.5rem;
        max-width: 250px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .portfolio-grid {
        gap: var(--spacing-md);
    }
    
    .portfolio-container {
        height: 60vh;
        top: 3rem; /* Reduced spacing for mobile */
    }
    
    .portfolio-content {
        padding: 0 1.25rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .portfolio-text {
        text-align: center;
        max-width: 100%;
    }

    .portfolio-overview-page .portfolio-container,
    .portfolio-overview-page .portfolio-content,
    .portfolio-overview-page .portfolio-text {
        max-width: 95vw;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-overview-page .portfolio-content {
        justify-content: center;
        align-items: center;
    }

    .portfolio-overview-page .portfolio-text {
        width: 95%;
        text-align: center;
    }

    .portfolio-overview-page .portfolio-grid-section .container {
        max-width: 95vw;
        padding-left: 0;
        padding-right: 0;
    }
    
    .portfolio-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .portfolio-description {
        font-size: var(--font-size-md);
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title-section {
        top: 1rem;
        right: 1rem;
        max-width: 200px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 0.8rem;
    }
    
    .portfolio-grid {
        gap: var(--spacing-sm);
    }
    
    .portfolio-container {
        top: 2rem; /* Further reduced spacing for mobile */
    }
}

/* Gallery Modal Styles */
.gallery-modal-dialog {
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    width: 100vw;
    height: 100vh;
    padding: 0;
}

#galleryModal.modal {
    padding: 0 !important;
}

.gallery-modal-content {
    background: rgba(0, 0, 0, 0.96);
    border: none;
    position: relative;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: none;
}

.spacing-top-portfolio{
    margin: 5rem 0;
}

@media (max-width: 768px) {
    .spacing-top-portfolio{
        margin: 2.5rem 0;
    }
}

@media (max-width: 480px) {
    .spacing-top-portfolio{
        margin: 2rem 0;
    }
}

/* Image Block Styles */
.portfolio-block-image {
    margin-bottom: 4rem;
}

.image-block-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.image-block-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-block-image.portfolio-video-image {
    aspect-ratio: 16/9;
}

.image-block-image:hover {
    transform: scale(1.01);
}

.image-block-image .portfolio-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.image-block-content {
    width: 100%;
    padding: 0;
}

.video-embed-container {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
}

.video-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.image-block-content .portfolio-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.image-block-content .portfolio-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.clickable-image {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.clickable-image:hover {
    opacity: 0.9;
}

/* Mobile responsive for image blocks */
@media (max-width: 768px) {
    .image-block-container {
        gap: 1rem;
    }
    
    .image-block-content {
        padding: 0.5rem 0 0;
    }
    
    .image-block-content .portfolio-title {
        font-size: 1.6rem;
    }
    
    .image-block-content .portfolio-description {
        font-size: 1rem;
    }
}

.gallery-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1062;
    background: var(--primary-mustard);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 50%;
}

.gallery-close-btn:hover {
    background: #e55a2b;
    transform: scale(1.05);
    color: white;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1061;
    background: transparent;
    border: none;
    color: #ff6b35;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
    opacity: 0.3;
    font-weight: 600;
}

.gallery-image-container:hover .gallery-nav-btn {
    opacity: 1;
}

.gallery-prev-btn {
    left: 20px;
}

.gallery-next-btn {
    right: 20px;
}

.gallery-nav-btn:hover {
    color: #e55a2b;
    transform: translateY(-50%) scale(1.2);
}

.gallery-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #000;
    border-radius: 0;
    overflow: hidden;
}

.gallery-image-container img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 0;
}

.gallery-image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px;
    color: white;
    text-align: center;
}

.gallery-image-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-image-description {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hide navigation buttons when only one image */
.gallery-modal-content:has(.gallery-image-container:only-child) .gallery-nav-btn {
    display: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .gallery-modal-dialog {
        width: 100vw;
        height: 100vh;
        margin: 0;
    }
    
    .gallery-close-btn {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .gallery-prev-btn {
        left: 10px;
    }
    
    .gallery-next-btn {
        right: 10px;
    }
    
    .gallery-image-container img {
        max-height: calc(100vh - 160px);
    }
    
    .gallery-image-info {
        padding: 30px 15px 15px;
    }
    
    .gallery-image-title {
        font-size: 1rem;
    }
    
    .gallery-image-description {
        font-size: 0.8rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .gallery-nav-btn {
        opacity: 0.6;
    }
    
    .gallery-nav-btn:active {
        opacity: 1;
        transform: translateY(-50%) scale(0.95);
    }
    
    .gallery-close-btn:active {
        transform: scale(0.95);
    }
}

/* Advanced Gallery Lightbox Styles */
.gallery-modal-image {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 0;
    transition: transform 0.3s ease;
    cursor: grab;
    user-select: none;
}

.gallery-modal-image:active {
    cursor: grabbing;
}

.gallery-modal-image.zoomed {
    cursor: move;
}

/* Zoom Controls */
.gallery-zoom-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 1061;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gallery-image-container:hover .gallery-zoom-controls {
    opacity: 1;
}

.gallery-zoom-btn {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.gallery-zoom-btn:active {
    transform: scale(0.95);
}

/* Image Counter */
.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1061;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gallery-image-container:hover .gallery-counter {
    opacity: 1;
}

/* Fullscreen Mode */
.gallery-modal-content.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #000;
}

.gallery-modal-content.fullscreen .gallery-image-container {
    width: 100%;
    height: 100%;
}

.gallery-modal-content.fullscreen .gallery-modal-image {
    max-width: 95vw;
    max-height: 95vh;
}

/* Loading Animation */
.gallery-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    z-index: 1062;
}

.gallery-loading i {
    animation: spin 1s linear infinite;
}

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

/* Touch Gestures Support */
.gallery-image-container.touch-enabled {
    touch-action: pan-x pan-y;
}

.gallery-image-container.touch-enabled .gallery-modal-image {
    pointer-events: none;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .gallery-zoom-controls {
        top: 10px;
        left: 10px;
        gap: 6px;
    }
    
    .gallery-zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .gallery-counter {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .gallery-modal-image {
        max-height: 70vh;
    }
}

/* Gallery Layout Variations */
.gallery-columns-1 {
    --gallery-columns: 1;
    --gallery-min-size: 0;
}

.gallery-columns-2 {
    --gallery-columns: 2;
    --gallery-min-size: 0;
}

.gallery-columns-3 {
    --gallery-columns: 3;
    --gallery-min-size: 0;
}

.gallery-columns-4 {
    --gallery-columns: 4;
    --gallery-min-size: 0;
}

.gallery-columns-5 {
    --gallery-columns: 5;
    --gallery-min-size: 0;
}

.gallery-columns-6 {
    --gallery-columns: 6;
    --gallery-min-size: 0;
}

/* Masonry Layout */
.gallery-masonry {
    display: grid;
    grid-template-rows: masonry;
    gap: var(--spacing-md);
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    aspect-ratio: auto;
    display: block;
}

.gallery-masonry .gallery-picture,
.gallery-masonry .gallery-thumbnail {
    height: auto;
}

/* Slideshow Layout */
.gallery-slideshow {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-slide.active {
    opacity: 1;
}

.slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.slideshow-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    text-align: center;
}

.slideshow-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slideshow-description {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
    left: 20px;
}

.slideshow-next {
    right: 20px;
}

.slideshow-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-indicator.active,
.slideshow-indicator:hover {
    background: white;
    border-color: white;
}

/* Carousel Layout */
.gallery-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.carousel-track {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-sm) 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 300px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.carousel-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
}

.carousel-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-description {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Progressive Image Loading States */
.gallery-picture {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-thumbnail.loading {
    opacity: 0.3;
    filter: blur(2px);
    transition: all 0.3s ease;
}

.gallery-thumbnail.loaded {
    opacity: 1;
    filter: blur(0px);
    transition: all 0.3s ease;
}

.gallery-thumbnail.high-quality-loaded {
    filter: blur(0px) contrast(1.1);
}

.gallery-thumbnail.error {
    opacity: 0.5;
    filter: grayscale(1);
    background: #f5f5f5;
}

.gallery-thumbnail.error::after {
    content: '⚠️ Image failed to load';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

/* Responsive Image Optimization */
.gallery-picture img {
    width: 100%;
    height: auto;
    display: block;
}

/* WebP and AVIF Support Indicators */
.gallery-picture source[type="image/webp"] ~ img {
    background: linear-gradient(45deg, transparent 45%, rgba(0, 255, 0, 0.1) 50%, transparent 55%);
}

.gallery-picture source[type="image/avif"] ~ img {
    background: linear-gradient(45deg, transparent 45%, rgba(0, 0, 255, 0.1) 50%, transparent 55%);
}

/* Performance-optimized animations */
@media (prefers-reduced-motion: reduce) {
    .gallery-thumbnail {
        transition: none;
    }
}

/* High-DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gallery-thumbnail {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Mobile Responsive for New Layouts */
@media (max-width: 768px) {
    .gallery-grid {
        --gallery-min-size: 0;
        --gallery-gap: 0.75rem;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .slideshow-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slideshow-prev {
        left: 10px;
    }
    
    .slideshow-next {
        right: 10px;
    }
    
    .slideshow-caption {
        padding: 30px 20px 20px;
    }
    
    .slideshow-title {
        font-size: 1.2rem;
    }
    
    .slideshow-description {
        font-size: 0.9rem;
    }
    
    .carousel-slide {
        flex: 0 0 250px;
    }
    
    .carousel-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        --gallery-gap: 0.5rem;
    }
    
    .slideshow-container {
        height: 250px;
    }
    
    .carousel-slide {
        flex: 0 0 200px;
    }
    
    .carousel-image {
        height: 150px;
    }
}

/* Video Block Container */
.video-block-container {
    display: block;
    align-items: center;
    /* gap: 2rem; */
    min-height: 400px;
    width: 100%;
}

.video-block-wrapper {
    flex: 0 0 70%;
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
}

.video-content {
    flex: 0 0 30%;
    padding: 2rem;
}

/* Video Thumbnail Layer */
.video-thumbnail-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-thumbnail-image {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.video-thumbnail-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 70%,
        rgba(255, 255, 255, 0.9) 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.video-thumbnail-image:hover::before {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 70%,
        rgba(255, 255, 255, 0.95) 100%
    );
}

/* Video Player Layer */
.video-player-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.video-embed-container {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.video-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Mobile responsive for video blocks */
@media (max-width: 768px) {
    .video-block-container {
        flex-direction: column;
        gap: 1.5rem;
        min-height: auto;
    }
    
    .video-block-wrapper {
        flex: none;
        width: 100%;
        aspect-ratio: 16/9;
    }
    
    .video-content {
        flex: none;
        width: 100%;
        padding: 1rem 0;
    }
}


/* Share Modal */
.share-modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.share-modal-content .modal-header {
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
    position: relative;
}

.share-modal-content .modal-title {
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Share modal uses gallery close button style */
.share-modal-content .gallery-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1060;
    background: var(--primary-mustard);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 50%;
}

.share-modal-content .gallery-close-btn:hover {
    background: #e55a2b;
    transform: scale(1.05);
    color: white;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #f8f9fa;
}

.share-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
    text-decoration: none;
}

.share-option i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.share-option span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Share option colors */
.share-option.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-option.twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.share-option.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.share-option.email:hover {
    background: #ea4335;
    color: white;
    border-color: #ea4335;
}

.share-option.copy-link:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

/* Portfolio Details Updates */
.sidebar-card h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.portfolio-description {
    margin-bottom: 1.5rem;
}

.portfolio-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.portfolio-info {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #333;
    font-weight: 600;
}

.info-item span {
    color: #666;
    font-size: 0.9rem;
}

/* Gallery Share Buttons - Phase 10B.3 */
.gallery-share-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
}

.gallery-share-trigger {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-share-trigger:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.gallery-share-trigger .share-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-mustard);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    font-weight: 600;
}

.gallery-share-options {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 15px;
    min-width: 200px;
    z-index: 30;
}

.share-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.share-options-header span {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.share-close {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.share-close:hover {
    background: #f8f9fa;
    color: #333;
}

.share-platforms {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.share-platform-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.share-platform-btn:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.share-action-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.share-action-btn:hover {
    background: #e9ecef;
    color: #333;
    transform: scale(1.05);
}

/* Gallery Share Page Styles */
.gallery-share-page {
    padding: 2rem 0;
    min-height: 100vh;
}

.gallery-share-header {
    margin-bottom: 2rem;
}

.gallery-share-image-container {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-share-picture {
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.gallery-share-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.gallery-share-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.gallery-share-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.gallery-share-description {
    font-size: 1.1rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.gallery-share-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.gallery-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid currentColor;
}

.gallery-share-category {
    color: var(--warm-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-share-sidebar {
    position: sticky;
    top: 2rem;
}

.share-section,
.image-details-section,
.related-images-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.share-section h3,
.image-details-section h4,
.related-images-section h4 {
    color: var(--charcoal);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 1.5rem;
}

.quick-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-share-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.advanced-share-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.advanced-share-options .btn {
    font-size: 0.8rem;
    padding: 8px 12px;
}

.detail-item {
    margin-bottom: 0.8rem;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid var(--primary-mustard);
}

.detail-item strong {
    color: var(--charcoal);
}

.related-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.related-image-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-image-link:hover {
    transform: scale(1.05);
    color: inherit;
}

.related-image-thumb {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.related-image-title {
    font-size: 0.7rem;
    text-align: center;
    padding: 4px;
    color: var(--warm-gray);
}

/* Share Image Preview */
.share-image-preview {
    text-align: center;
    margin-bottom: 1.5rem;
}

.share-preview-img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.share-extras {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.share-extra-item {
    margin-bottom: 1rem;
}

.share-extra-item label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    display: block;
}

.custom-share-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.custom-share-platforms .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.custom-share-platforms .form-check:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.custom-share-platforms .form-check-input:checked + .form-check-label {
    color: #007bff;
    font-weight: 600;
}

/* Embed Code Styles */
.embed-preview-container {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.qr-code-container {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    display: inline-block;
}

.qr-code-image {
    max-width: 100%;
    height: auto;
}

/* Gallery Notifications */
.gallery-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Share Tab Styles */
.share-tabs .nav-tabs {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.share-tabs .nav-link {
    color: var(--warm-gray);
    border: none;
    padding: 12px 20px;
    font-weight: 500;
}

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

.share-tabs .nav-link:hover {
    color: var(--dark-mustard);
    border-color: transparent;
}

.share-custom-message {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.share-custom-message label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    display: block;
}

.embed-code-section label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    display: block;
}

.permalink-section {
    width: 100%;
}

.permalink-section label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    display: block;
}

/* Enhanced Frontend Menu - Phase 10B.4 */
.user-status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
}

.user-avatar {
    font-size: 2rem;
    color: var(--primary-mustard);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-email {
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
}

.user-role {
    font-size: 0.75rem;
    color: var(--light-mustard);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 15px 20px;
    border: none;
}

.side-menu-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--charcoal);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.side-menu-list li a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.side-menu-list li a:hover,
.side-menu-list li a:focus {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-mustard);
    outline: none;
}

.menu-badge {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-badge {
    background: var(--warm-gray);
    color: white;
}

.menu-badge.god {
    background: #dc3545;
    color: white;
}

.menu-badge.admin {
    background: #fd7e14;
    color: white;
}

.menu-badge.moderator {
    background: #6f42c1;
    color: white;
}

.menu-dashboard {
    border-left: 3px solid var(--primary-mustard);
}

.menu-admin {
    border-left: 3px solid #fd7e14;
}

.menu-moderator {
    border-left: 3px solid #6f42c1;
}

.menu-logout {
    border-left: 3px solid #dc3545;
}

.menu-login {
    border-left: 3px solid #28a745;
}

/* Accessibility Features */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--charcoal);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    color: white;
    outline: 2px solid var(--primary-mustard);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High Contrast Mode */
.high-contrast-mode {
    filter: contrast(150%);
}

.high-contrast-mode .gallery-thumbnail,
.high-contrast-mode .gallery-modal-image {
    filter: contrast(120%) brightness(110%);
}

.high-contrast-mode .gallery-share-trigger,
.high-contrast-mode .gallery-zoom-btn,
.high-contrast-mode .gallery-nav-btn {
    background: #000;
    border: 2px solid #fff;
}

.high-contrast-mode .side-menu {
    background: #000;
    border: 2px solid #fff;
}

.high-contrast-mode .side-menu-list li a:focus {
    outline: 3px solid #ffff00;
    outline-offset: 2px;
}

/* Reduced Motion */
.reduced-motion,
.reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Focus Management */
*:focus {
    outline: 2px solid var(--primary-mustard);
    outline-offset: 2px;
}

.gallery-thumbnail:focus,
.gallery-share-trigger:focus,
.slideshow-btn:focus,
.carousel-btn:focus {
    outline: 3px solid var(--primary-mustard);
    outline-offset: 3px;
}

/* ARIA Live Region */
.aria-live-region {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Gallery Accessibility Enhancements */
.gallery-item {
    position: relative;
}

.gallery-item:focus-within {
    outline: 2px solid var(--primary-mustard);
    outline-offset: 2px;
    border-radius: 8px;
}

.gallery-thumbnail[role="button"] {
    cursor: pointer;
}

.gallery-thumbnail:focus {
    outline: 3px solid var(--primary-mustard);
    outline-offset: 3px;
}

/* Screen Reader Descriptions */
.gallery-sr-description {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.gallery-item:focus .gallery-sr-description,
.gallery-thumbnail:focus + .gallery-sr-description {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Mobile Accessibility */
@media (max-width: 768px) {
    .user-status-indicator {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .side-menu-list li a {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .menu-badge {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .skip-link {
        top: -55px;
        font-size: 1.1rem;
        padding: 12px 20px;
    }
}

/* Touch Target Improvements */
@media (hover: none) and (pointer: coarse) {
    .side-menu-list li a {
        min-height: 44px;
        padding: 15px 20px;
    }
    
    .gallery-share-trigger,
    .gallery-zoom-btn,
    .gallery-nav-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .slideshow-btn,
    .carousel-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Mobile responsive for share modal */
@media (max-width: 768px) {
    .gallery-share-options {
        right: -10px;
        min-width: 180px;
    }
    
    .share-platforms {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .quick-share-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-share-platforms {
        grid-template-columns: 1fr;
    }
    
    .advanced-share-options {
        flex-direction: column;
    }
    
    .advanced-share-options .btn {
        width: 100%;
        justify-content: center;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .share-option {
        padding: 1rem 0.5rem;
    }
    
    .share-option i {
        font-size: 1.25rem;
    }
    
    .share-option span {
        font-size: 0.8rem;
    }
}

/* Floating Share Button */
.floating-share-btn {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--earth-brown);
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
}

.floating-share-btn:hover {
    background: var(--dark-mustard);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.floating-share-btn.show {
    opacity: 1;
    transform: translateY(0);
}

/* Draft Label */
.draft-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    animation: pulse 2s infinite;
}

.draft-label i {
    font-size: 0.8rem;
}

@keyframes pulse {
    0% { 
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
    50% { 
        box-shadow: 0 2px 12px rgba(255, 107, 53, 0.5);
    }
    100% { 
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
}

/* ========================================
   WEBSHOP STYLES
   ======================================== */

/* Webshop Product Cards */
.product-card {
    background: white;
    border: 1px solid var(--light-mustard);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.2);
    border-color: var(--primary-mustard);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-beige);
    color: var(--warm-gray);
    font-size: 2rem;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.adult-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(54, 69, 79, 0.75), rgba(212, 165, 116, 0.55));
    color: #fff;
    text-align: center;
    z-index: 3;
    pointer-events: none;
}

.adult-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

.adult-overlay-icon {
    font-size: clamp(1rem, 2.4vw, 1.4rem);
}

.adult-overlay-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.4rem, 6vw, 3.2rem);
    height: clamp(2.4rem, 6vw, 3.2rem);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.product-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.sale {
    background: var(--accent-orange);
    color: white;
}

.product-badge.featured {
    background: var(--primary-mustard);
    color: white;
}

.product-badge.digital {
    background: var(--charcoal);
    color: white;
}

.product-badge.subscription {
    background: var(--dark-mustard);
    color: white;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    margin-bottom: 1rem;
}

.product-title a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.product-title a:hover {
    color: var(--primary-mustard);
}

.product-description {
    color: var(--warm-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.product-price {
    margin-bottom: 1rem;
}

.original-price {
    color: var(--warm-gray);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.current-price {
    color: var(--charcoal);
    font-weight: 700;
    font-size: 1.3rem;
}

/* Webshop specific button styles */
.add-to-cart-btn {
    background: linear-gradient(135deg, var(--primary-mustard), var(--dark-mustard));
    border: none;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--dark-mustard), var(--earth-brown));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
    color: white;
}

.add-to-cart-btn:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

.add-to-cart-btn.btn-success {
    background: var(--accent-orange);
}

/* Responsive webshop styles */
@media (max-width: 768px) {
    .product-card .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .product-card .product-image {
        height: 180px;
    }
    
    .product-badges {
        top: 5px;
        left: 5px;
    }
    
    .product-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .add-to-cart-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   BLOG POST STYLING
   ======================================== */

/* Blog Hero Meta Styling */
.blog-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.blog-meta-item i, .audio-player-trigger i {
    color: var(--earth-brown);
}

.rss-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rss-link:hover, .audio-player-trigger:hover {
    color: var(--earth-brown);
    transform: scale(1.05);
}

.audio-player-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Blog Hero Image with Data Attribute */
.blog-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Audio Player Styles */
.audio-player-full-width {
    width: 100%;
}

#audioPlayerModal .modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#audioPlayerModal .modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

#audioPlayerModal .modal-title {
    color: #333;
    font-weight: 600;
}

.audio-player-container {
    padding: 1rem 0;
}

.audio-controls .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.audio-controls .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Blog Content Styling */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-post-content {
    padding: 2rem 0;
}

.blog-post-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-post-text h1, .blog-post-text h2, .blog-post-text h3, .blog-post-text h4, .blog-post-text h5, .blog-post-text h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}

.blog-post-text h1 { font-size: 2rem; }
.blog-post-text h2 { font-size: 1.75rem; }
.blog-post-text h3 { font-size: 1.5rem; }
.blog-post-text h4 { font-size: 1.25rem; }

.blog-post-text p {
    margin-bottom: 1.5rem;
}

.blog-post-text ul, .blog-post-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-text li {
    margin-bottom: 0.5rem;
}

.blog-post-text blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

.blog-post-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Related Posts and Portfolios Sections */
.related-posts-section,
.related-portfolios-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    margin-bottom: 5rem;
}

.related-posts-section .portfolio-grid,
.related-portfolios-section .portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Floating Share Button */
.floating-share-btn {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--earth-brown);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-share-btn:hover {
    background: var(--dark-mustard);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.floating-share-btn i {
    font-size: 1rem;
}

/* Share Modal Styles */
.share-modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.share-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
}

.share-option.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-option.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-option.linkedin:hover {
    background: #0077b5;
    color: white;
}

.share-option.email:hover {
    background: #6c757d;
    color: white;
}

.share-option.copy-link:hover {
    background: #28a745;
    color: white;
}

.share-option i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.share-option span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Comments Styling */
.blog-comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.comments-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-title i {
    color: var(--earth-brown);
}

.comments-count {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.comments-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comments-sort {
    min-width: 150px;
}

.comments-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.comments-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.comments-toggle-btn.active {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.comments-toggle-btn.active:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
}

.comments-toggle-btn i {
    transition: transform 0.3s ease;
}

.comments-toggle-btn.active i {
    transform: rotate(45deg);
}

.comment-form-container {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    animation: slideDown 0.3s ease-out;
}

.comment-form-container.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Responsive Design */
@media (max-width: 768px) {
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .comments-header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .comments-sort {
        min-width: 120px;
    }
    
    .blog-hero-card-title {
        font-size: 2rem;
    }
    
    .blog-hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-hero-card {
        padding: 2rem;
    }
    
    .related-posts-section .portfolio-grid,
    .related-portfolios-section .portfolio-grid {
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .blog-hero-card-title {
        font-size: 1.75rem;
    }
    
    .blog-hero-card {
        padding: 1.5rem;
    }
    
    .blog-post {
        padding: 0 1rem;
    }
    
    .related-posts-section .portfolio-grid,
    .related-portfolios-section .portfolio-grid {
        gap: var(--spacing-sm);
    }
}

/* ========================================
   COMMENTS SECTION STYLING
   ======================================== */

.comments-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-count {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.comments-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fafafa;
    transition: box-shadow 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    color: #333;
    font-size: 1rem;
    margin: 0;
}

.comment-date {
    color: #666;
    font-size: 0.85rem;
}

.comment-actions {
    display: flex;
    gap: 0.5rem;
}

.comment-reply {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    background: #fff;
    color: #666;
    transition: all 0.3s ease;
}

.comment-reply:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.comment-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-reply-form {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.reply-form .form-group {
    margin-bottom: 1rem;
}

.reply-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.9rem;
}

.reply-form .form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.reply-form .form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.reply-form .form-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.reply-form .btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reply-form .btn-primary {
    background: #007bff;
    color: #fff;
}

.reply-form .btn-primary:hover {
    background: #0056b3;
}

.reply-form .btn-secondary {
    background: #6c757d;
    color: #fff;
}

.reply-form .btn-secondary:hover {
    background: #545b62;
}

.comments-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state {
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: #333;
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin: 0;
    font-size: 0.9rem;
}

/* Comments Responsive Design */
@media (max-width: 768px) {
    .comments-section {
        padding: 1.5rem;
    }
    
    .comments-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .comments-title {
        font-size: 1.25rem;
    }
    
    .comment-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .comment-author {
        width: 100%;
    }
    
    .comment-actions {
        align-self: flex-end;
    }
    
    .reply-form .form-actions {
        flex-direction: column;
    }
    
    .reply-form .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .comments-section {
        padding: 1rem;
    }
    
    .comment-item {
        padding: 1rem;
    }
    
    .comment-author {
        gap: 0.75rem;
    }
    
    .author-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ========================================
   BIOGRAPHY PAGE STYLING
   ======================================== */

/* Biography Hero Meta Styling - Reuse blog styling */

.biography-page .portfolio-hero-section {
    min-height: 65vh;
}

.biography-hero-card .portfolio-hero-card-title {
    font-size: 3rem;
}

.biography-hero-card .portfolio-hero-card-description {
    max-width: 460px;
}

.biography-hero-card .portfolio-hero-card-description p {
    margin-bottom: 0;
}

/* Biography Hero Image with Data Attribute */
.biography-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Biography Content Styling */
.biography-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.biography-post-content {
    padding: 2rem 0;
}

.biography-article {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.biography-lead {
    margin-bottom: 2.5rem;
}

.biography-lead-meta {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(54, 69, 79, 0.7);
    margin-bottom: 0.75rem;
}

.biography-lead-intro {
    font-family: 'Source Code Pro', monospace;
    font-size: 1.5rem;
    margin: 0;
    color: #36454F;
}

.biography-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 3rem;
    align-items: start;
}

.biography-portraits {
    display: grid;
    gap: 2rem;
}

.biography-portrait {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.biography-portrait img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.biography-portrait-caption {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.65);
}

.biography-cta {
    margin-top: 3.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.biography-cta-btn {
    min-width: 200px;
    text-align: center;
}

.biography-cta-btn.secondary {
    background: transparent;
    color: #D4A574;
    border: 2px solid #D4A574;
    box-shadow: none;
}

.biography-cta-btn.secondary:hover {
    background: linear-gradient(135deg, #D4A574 0%, #B8860B 100%);
    color: #36454F;
}

.contact-page .contact-post-text {
    display: grid;
    gap: 2rem;
}

.contact-page .contact-info-group {
    display: grid;
    gap: 1.5rem;
}

.contact-page .contact-info-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

.contact-page .contact-info-icon {
    font-size: 1.5rem;
    color: #D4A574;
}

.contact-page .contact-info-content {
    display: grid;
    gap: 0.35rem;
}

.contact-page .contact-info-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

.contact-page .contact-info-content a {
    color: #D4A574;
    text-decoration: none;
    font-weight: 600;
}

.contact-page .contact-info-content a:hover {
    color: #B8860B;
}

.contact-page .contact-socials {
    display: grid;
    gap: 1rem;
}

.contact-page .contact-socials-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

.contact-page .contact-socials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-page .contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #36454F;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-page .contact-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
    background: #D4A574;
    color: #2F2F2F;
}

.contact-page .contact-social-link i {
    font-size: 1.1rem;
}

.contact-page .contact-sidebar {
    gap: 2.5rem;
}

.contact-page .contact-form-card {
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 246, 240, 0.95) 100%);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.14);
    display: grid;
    gap: 1.5rem;
}

.contact-page .contact-form-description {
    margin: 0;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.6;
}

.contact-page .contact-form-card h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
}

.contact-page .contact-form-card-empty {
    text-align: center;
    gap: 1rem;
}

.contact-page .contact-form-field {
    display: grid;
    gap: 0.5rem;
}

.contact-page .contact-form-field label {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
}

.contact-page .contact-form-field input,
.contact-page .contact-form-field textarea {
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-page .contact-form-field input:focus,
.contact-page .contact-form-field textarea:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(212, 165, 116, 0.6);
    transform: translateY(-1px);
}

.contact-page .contact-form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.contact-page .contact-submit-btn {
    border: none;
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-mustard);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-page .contact-submit-btn:hover {
    background: var(--dark-mustard);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-page .contact-submit-btn i {
    font-size: 1rem;
}

.contact-page .contact-portrait img {
    min-height: 360px;
    object-position: center;
}

.contact-page .contact-portrait .biography-portrait-caption {
    text-align: center;
}

.contact-page .contact-info-card span,
.contact-page .contact-info-card a {
    font-size: 1rem;
}

.contact-page .form-message {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    display: none;
    border: 1px solid transparent;
}

.contact-page .form-message.show {
    display: block;
}

.contact-page .form-message.success {
    background: rgba(212, 237, 218, 0.9);
    color: #155724;
    border-color: #c3e6cb;
}

.contact-page .form-message.error {
    background: rgba(248, 215, 218, 0.9);
    color: #721c24;
    border-color: #f5c6cb;
}

@media (max-width: 992px) {
    .contact-page .biography-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-page .contact-sidebar {
        order: -1;
    }
}

@media (max-width: 640px) {
    .contact-page .contact-form-card {
        padding: 1.5rem;
    }

    .contact-page .contact-socials-list {
        justify-content: center;
    }
}

.biography-post-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.biography-post-text h1, .biography-post-text h2, .biography-post-text h3, .biography-post-text h4, .biography-post-text h5, .biography-post-text h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}

.biography-post-text h1 { font-size: 2rem; }
.biography-post-text h2 { font-size: 1.75rem; }
.biography-post-text h3 { font-size: 1.5rem; }
.biography-post-text h4 { font-size: 1.25rem; }

.biography-post-text p {
    margin-bottom: 1.5rem;
}

.biography-post-text ul, .biography-post-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.biography-post-text li {
    margin-bottom: 0.5rem;
}

.biography-post-text blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

.biography-post-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Biography Info Section */
.biography-info-section {
    margin-top: 3rem;
    padding: 2rem 0;
}

.biography-info-card,
.biography-contact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.biography-info-card:hover,
.biography-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.biography-info-title,
.biography-contact-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.biography-info-title i,
.biography-contact-title i {
    color: var(--earth-brown);
}

.biography-info-content,
.biography-contact-content {
    padding: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #666;
    font-weight: 500;
    flex: 1;
}

.info-item span {
    color: #333;
    font-weight: 500;
    flex: 2;
    text-align: right;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: var(--earth-brown);
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--earth-brown);
}

/* Social Media Section */
.social-media-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f8f9fa;
}

.social-media-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-media-title::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--earth-brown);
}

.social-media-links .contact-item {
    margin-bottom: 0.5rem;
}

.social-media-links .contact-item i {
    color: var(--earth-brown);
    width: 20px;
    text-align: center;
}

.social-media-links .contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-media-links .contact-item a:hover {
    color: var(--earth-brown);
}

/* Biography Responsive Design */
@media (max-width: 992px) {
    .biography-layout {
        grid-template-columns: 1fr;
    }
    
    .biography-portraits {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .biography-article {
        padding: 2.5rem 1.5rem 3rem;
    }
    
    .biography-lead-intro {
        font-size: 1.35rem;
    }
    
    .biography-cta {
        margin-top: 3rem;
    }
}

@media (max-width: 576px) {
    .biography-lead-intro {
        font-size: 1.2rem;
    }
    
    .biography-post-text {
        font-size: 1rem;
    }
    
    .biography-cta-btn {
        width: 100%;
        min-width: auto;
    }
}

/* ========================================
   BLOG INDEX PAGE STYLING
   ======================================== */

/* Blog Content Layout */
.blog-index-page .portfolio-hero-section {
    height: 72vh;
    min-height: 520px;
}

.blog-index-page .portfolio-hero-card {
    margin-top: clamp(4rem, 9vh, 7rem);
    margin-bottom: clamp(1.25rem, 3vh, 2rem);
}

.blog-index-page .portfolio-content {
    display: block;
    position: static;
    z-index: auto;
    height: auto;
    padding: 2.5rem 0 4rem;
}

/* Blog Hero Image with Data Attribute */
.blog-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
}

.blog-pagination .pagination {
    margin: 0;
    justify-content: center;
}

.blog-pagination .page-link {
    color: var(--earth-brown);
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.blog-pagination .page-link:hover {
    background: var(--earth-brown);
    color: white;
    border-color: var(--earth-brown);
    transform: translateY(-1px);
}

.blog-pagination .page-item.active .page-link {
    background: var(--earth-brown);
    border-color: var(--earth-brown);
    color: white;
}

/* Blog Categories Section */
.blog-categories-section {
    /* margin-top: 4rem;
    padding: 3rem 0; */
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
}

.blog-categories-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #333;
    font-family: 'Source Code Pro', monospace;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.category-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.category-placeholder span {
    text-align: center;
    padding: 0 1rem;
}

.category-content {
    padding: 1.5rem;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

.category-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-title a:hover {
    color: #007bff;
}

.category-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: #0056b3;
    transform: translateX(3px);
}

.category-meta {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.category-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.category-link:hover i {
    transform: translateX(3px);
}

/* Blog Empty State */
.blog-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.blog-empty i {
    color: #ddd;
    margin-bottom: 1.5rem;
}

.blog-empty h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-empty p {
    font-size: 1.1rem;
    margin: 0;
}

/* Blog Responsive Design */
@media (max-width: 768px) {
    .blog-categories-section {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .blog-categories-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-image {
        height: 150px;
    }
    
    .category-content {
        padding: 1rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .blog-pagination {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .blog-pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .blog-categories-section .section-title {
        font-size: 1.75rem;
    }
    
    .category-placeholder {
        font-size: 1rem;
    }
    
    .category-placeholder i {
        font-size: 2.5rem;
    }
    
    .blog-empty {
        padding: 3rem 1rem;
    }
    
    .blog-empty h3 {
        font-size: 1.25rem;
    }
    
    .blog-empty p {
        font-size: 1rem;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed !important;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: 1200px;
    background-color: var(--broken-white);
    border-top: 4px solid var(--primary-mustard);
    box-shadow: var(--shadow-md);
    padding: 1.25rem 1.5rem;
    z-index: 9999;
    font-family: 'SourceCodePro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-radius: 12px;
    margin: 0 auto;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-icon {
    font-size: 2rem;
    color: var(--primary-mustard);
    flex-shrink: 0;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text h3 {
    margin: 0 0 0.5rem;
    color: var(--earth-brown);
    font-size: 1.2rem;
    font-weight: 600;
}

.cookie-banner-text p {
    margin: 0 0 0.75rem;
    color: var(--charcoal);
    line-height: 1.55;
}

.cookie-banner-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-link {
    color: var(--earth-brown);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.cookie-link:hover,
.cookie-link:focus {
    color: var(--dark-mustard);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.65rem 1.6rem;
    border: none;
    border-radius: calc(var(--border-radius) / 1.5);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.cookie-btn-primary {
    background: var(--primary-mustard);
    color: var(--broken-white);
}

.cookie-btn-primary:hover,
.cookie-btn-primary:focus {
    background: var(--dark-mustard);
    color: var(--broken-white);
}

.cookie-btn-secondary {
    background: var(--charcoal);
    color: var(--broken-white);
}

.cookie-btn-secondary:hover,
.cookie-btn-secondary:focus {
    background: #2c3640;
    color: var(--broken-white);
}

.cookie-btn-outline {
    background: transparent;
    color: var(--primary-mustard);
    border: 2px solid var(--primary-mustard);
}

.cookie-btn-outline:hover,
.cookie-btn-outline:focus {
    background: var(--primary-mustard);
    color: var(--broken-white);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

.cookie-modal-content {
    position: relative;
    background: var(--off-white);
    border-radius: calc(var(--border-radius) * 1.2);
    max-width: 640px;
    width: 100%;
    max-height: 82vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(54, 69, 79, 0.09);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(54, 69, 79, 0.1);
    background: var(--broken-white);
}

.cookie-modal-header h2 {
    margin: 0;
    color: var(--earth-brown);
    font-size: 1.45rem;
    font-weight: 700;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--charcoal);
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-modal-close:hover,
.cookie-modal-close:focus {
    background: rgba(212, 165, 116, 0.15);
    color: var(--earth-brown);
}

.cookie-modal-body {
    padding: 1.75rem;
    max-height: 52vh;
    overflow-y: auto;
}

.cookie-modal-description {
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.35rem;
    border: 1px solid rgba(212, 165, 116, 0.35);
    border-radius: calc(var(--border-radius) * 0.8);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(244, 228, 188, 0.35);
}

.cookie-category-info h3 {
    margin: 0 0 0.35rem;
    color: var(--earth-brown);
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-category-description {
    margin: 0;
    color: var(--warm-gray);
    font-size: 0.95rem;
}

.cookie-category-toggle {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(105, 105, 105, 0.35);
    transition: 0.35s ease;
    border-radius: 26px;
}

.cookie-toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.35s ease;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary-mustard);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: rgba(139, 69, 19, 0.65);
    cursor: not-allowed;
}

.cookie-toggle-label {
    font-size: 0.9rem;
    color: var(--charcoal);
    font-weight: 600;
}

.cookie-category-details {
    padding: 1.1rem 1.5rem;
    background: #fff;
}

.cookie-examples {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cookie-examples li {
    padding: 0.4rem 0 0.4rem 1rem;
    color: var(--charcoal);
    font-size: 0.95rem;
    position: relative;
}

.cookie-examples li::before {
    content: "•";
    color: var(--primary-mustard);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(54, 69, 79, 0.1);
    background: var(--broken-white);
}

.cookie-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 0.9rem 1.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--broken-white);
    box-shadow: var(--shadow-md);
    z-index: 3000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-notification.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-notification-success {
    background: var(--primary-mustard);
}

.cookie-notification-error {
    background: var(--earth-brown);
}

/* Responsive behaviour */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner-actions {
        justify-content: center;
    }

    .cookie-btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .cookie-modal-body {
        max-height: 60vh;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-category-toggle {
        align-self: stretch;
        justify-content: space-between;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-notification {
        left: 1rem;
        right: 1rem;
        top: 1rem;
    }
}
