* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Amiri', serif;
    background-color: #0a0a0a;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
    transition: all 0.3s ease;
}

::selection {
    background: #6b0f1a;
    color: #ffffff;
}

::-moz-selection {
    background: #6b0f1a;
    color: #ffffff;
}

.left-column {
    width: 551px;
    min-width: 551px;
    background-image: url('../images/tlolewe.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.left-content {
    width: 100%;
    max-width: 550px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo {
    position: relative;
    z-index: 10000;
    margin-bottom: -110px;
}

.logo img {
    width: 376px;
    max-width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.menu {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 500px;
    position: relative;
    z-index: 1;
}

.menu-bg {
    position: relative;
    width: 308px;
    max-width: 100%;
    min-height: 700px;
    background-image: url('../images/tlomenu.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 60px;
}

.menu-bg-img {
    display: none;
}

.menu-list {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100% - 140px);
    list-style: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    overflow-y: auto;
    max-height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-item {
    width: 272px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    flex-shrink: 0;
}

.menu-link {
    display: block;
    max-height: 42px;
    text-decoration: none;
    width: 100%;
    height: 60px;
    background-image: url('../images/kategoria.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    padding: 0 10px;
}

.menu-list::after {
    content: '';
    position: sticky;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, 
        rgba(120, 79, 23, 0.8) 0%, 
        rgba(120, 79, 23, 0.4) 50%,
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.menu-link:hover,
.menu-link.active {
    background-image: url('../images/hoverkategoria.webp');
    color: #f3e1be;
    transform: scale(1.02);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}

.social-btn {
    display: block;
    width: 340px;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.05);
}

.social-btn img {
    width: 100%;
    height: auto;
    display: block;
}

.menu-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.center-column {
    flex: 1;
    min-width: 300px;
    background-image: url('../images/tlo.webp');
    background-size: 1458px;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #0a0a0a;
    padding: 40px;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.content-area {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-title {
    font-size: 34px;
    background: linear-gradient(360deg, #CEA565 0%, #FCEECC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0 10px 0;
    padding: 5px;
    text-align: center;
    display: block;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
}

.category-title::selection {
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    background: #6b0f1a;
}

.category-title::-moz-selection {
    color: #ffffff;
}

.category-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 36px;
    background-image: url('../images/separator.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 10px;
    margin-bottom: 30px;
}

.category-section {
    margin-bottom: 60px;
    padding-bottom: 30px;
    width: 100%;
    max-width: 800px;
    scroll-margin-top: 50px;
}

.content-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.content-item {
    width: 100%;
    max-width: 800px;
    padding: 0;
    transition: all 0.3s ease;
    text-align: center;
    background: none;
    border: none;
}

.content-title-container {
    background-image: url('../images/tytul.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 346px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    padding: 15px 30px;
}


.content-title {
    color: #24180b;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 15px;
    text-shadow: 0 2px 2px #dbc7a1;
}


.content-meta {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-style: italic;
}

.content-text {
    line-height: 1.8;
    font-size: 18px;
    color: #fff;
    text-align: left;
    margin: 0 auto;
    max-width: 700px;
    padding: 20px;
}

.no-content {
    color: #ffd700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    text-align: center;
    width: 100%;
}

.loading-content {
    text-align: center;
    font-size: 20px;
    color: #ffd700;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.right-column {
    width: 551px;
    min-width: 551px;
    background-image: url('../images/tloprawe.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    transition: all 0.3s ease;
}

.admin-login-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #6b0f1a;
    color: #000;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-login-btn:hover {
    background: #8f1424;
    transform: scale(1.05);
}

@media (max-width: 1800px) {
    .left-column {
        width: 450px;
        min-width: 450px;
    }
    
    .center-column {
        margin-left: 450px;
        margin-right: 450px;
    }
    
    .right-column {
        width: 450px;
        min-width: 450px;
    }
    
    .logo img {
        width: 320px;
    }
    
    .social-btn {
        width: 300px;
    }
    
    .content-area {
        max-width: 800px;
    }
}

@media (max-width: 1600px) {
    .right-column {
        display: none;
    }
    
    .center-column {
        margin-right: 0;
    }
    
    .left-column {
        width: 400px;
        min-width: 400px;
    }
    
    .center-column {
        margin-left: 400px;
    }
    
    .logo img {
        width: 300px;
    }
    
    .menu-bg {
        width: 280px;
    }
    
    .menu-item {
        width: 250px;
    }
    
    .social-btn {
        width: 280px;
    }
    
    .category-section {
        max-width: 700px;
    }
    
    .content-item {
        max-width: 700px;
    }
    
    .content-title-container {
        background-size: 95% 100%;
    }
}

@media (max-width: 1400px) {
    .left-column {
        width: 350px;
        min-width: 350px;
    }
    
    .center-column {
        margin-left: 350px;
    }
    
    .logo img {
        width: 280px;
    }
    
    .menu-bg {
        width: 260px;
    }
    
    .menu-item {
        width: 230px;
    }
    
    .menu-link {
        font-size: 16px;
        height: 55px;
    }
    
    .social-btn {
        width: 250px;
    }
    
    .category-section {
        max-width: 650px;
    }
    
    .content-item {
        max-width: 650px;
    }
    
    .content-title {
        font-size: 22px;
        text-shadow: 
            0.5px 0.5px 0 #efdbb4,
            -0.5px -0.5px 0 #efdbb4,
            0.5px -0.5px 0 #efdbb4,
            -0.5px 0.5px 0 #efdbb4,
            1.5px 1.5px 0 #efdbb4,
            -1.5px -1.5px 0 #efdbb4,
            1.5px -1.5px 0 #efdbb4,
            -1.5px 1.5px 0 #efdbb4,
            2px 2px 1px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 1200px) {
    .container {
        flex-direction: column;
    }
    
    .left-column {
        position: relative;
        width: 100%;
        min-width: 100%;
        min-height: auto;
        background-size: cover;
    }
    
    .center-column {
        margin-left: 0;
        margin-right: 0;
        min-height: calc(100vh - 400px);
    }
    
    .left-content {
        flex-direction: row;
        justify-content: space-around;
        padding: 20px;
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 1;
        min-width: 300px;
        display: flex;
        justify-content: center;
    }
    
    .menu {
        flex: 1;
        min-width: 300px;
    }
    
    .social-buttons {
        flex: 1;
        min-width: 300px;
        align-items: center;
    }
    
    .category-section {
        max-width: 800px;
    }
    
    .content-item {
        max-width: 800px;
    }
    
    .content-title-container {
        background-size: 90% 100%;
    }
}

@media (max-width: 1024px) {
    .left-content {
        gap: 30px;
    }
    
    .logo img {
        width: 250px;
    }
    
    .menu-bg {
        width: 240px;
    }
    
    .menu-item {
        width: 210px;
    }
    
    .social-btn {
        width: 220px;
    }
    
    .center-column {
        padding: 20px;
    }
    
    .category-title {
        font-size: 32px;
    }
    
    .category-section {
        max-width: 700px;
    }
    
    .content-item {
        max-width: 700px;
    }
}

@media (max-width: 900px) {
    .left-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .logo,
    .menu,
    .social-buttons {
        width: 100%;
        max-width: 400px;
    }
    
    .logo img {
        width: 300px;
    }
    
    .menu-bg {
        width: 300px;
    }
    
    .menu-item {
        width: 270px;
    }
    
    .social-btn {
        width: 320px;
    }
    
    .category-section {
        max-width: 600px;
    }
    
    .content-item {
        max-width: 600px;
    }
    
    .content-title-container {
        background-size: 85% 100%;
        padding: 10px 20px;
    }
    
    .content-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .center-column {
        padding: 15px;
    }
    
    .content-item {
        padding: 0;
    }
    
    .category-title {
        font-size: 28px;
    }
    
    .content-title {
        font-size: 18px;
        text-shadow: 
            0.5px 0.5px 0 #efdbb4,
            -0.5px -0.5px 0 #efdbb4,
            0.5px -0.5px 0 #efdbb4,
            -0.5px 0.5px 0 #efdbb4,
            1px 1px 0 #efdbb4,
            -1px -1px 0 #efdbb4,
            1px -1px 0 #efdbb4,
            -1px 1px 0 #efdbb4,
            1.5px 1.5px 1px rgba(0, 0, 0, 0.5);
    }
    
    .logo img {
        width: 280px;
    }
    
    .menu-bg {
        width: 280px;
    }
    
    .menu-item {
        width: 250px;
    }
    
    .social-btn {
        width: 300px;
    }
    
    .category-section {
        max-width: 500px;
    }
    
    .content-item {
        max-width: 500px;
    }
    
    .content-text {
        font-size: 16px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .left-content {
        padding: 15px;
    }
    
    .logo img {
        width: 250px;
    }
    
    .menu-bg {
        width: 250px;
    }
    
    .menu-item {
        width: 220px;
    }
    
    .menu-link {
        height: 50px;
        font-size: 15px;
    }
    
    .social-btn {
        width: 280px;
    }
    
    .center-column {
        padding: 10px;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .content-title-container {
        background-size: 100% 100%;
        padding: 8px 15px;
        min-height: 50px;
    }
    
    .content-title {
        font-size: 16px;
    }
    
    .category-section {
        max-width: 100%;
    }
    
    .content-item {
        max-width: 100%;
    }
    
    .content-text {
        font-size: 15px;
        padding: 10px;
    }
}

#sparks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.spark {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    #sparks-container {
        display: none;
    }
}

@media (max-width: 768px) {
    #sparks-container {
        opacity: 0.6;
    }
}

@media (max-width: 480px) {
    #sparks-container {
        opacity: 0.4;
    }
}

.menu-bg {
    position: relative;
}

.menu-bg::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: radial-gradient(
        circle at center,
        rgba(189, 69, 52, 0.1) 0%,
        transparent 70%
    );
    border-radius: 10px;
    z-index: -1;
    animation: menuGlow 6s infinite alternate;
    pointer-events: none;
}

@keyframes menuGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.4;
        transform: scale(0.98);
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(189, 69, 52, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(213, 189, 138, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(189, 69, 52, 0.02) 0%, transparent 50%);
    animation: backgroundSparkle 30s infinite alternate ease-in-out;
}

@keyframes backgroundSparkle {
    0% {
        opacity: 0.1;
        transform: translateY(0) rotate(0deg);
    }
    50% {
        opacity: 0.2;
        transform: translateY(-20px) rotate(0.5deg);
    }
    100% {
        opacity: 0.15;
        transform: translateY(10px) rotate(-0.5deg);
    }
}

.category-title::after {
    animation: separatorGlow 3s infinite alternate;
}

@keyframes separatorGlow {
    0% {
        opacity: 0.9;
        filter: brightness(1);
    }
    100% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

.content-title-container {
    position: relative;
}

.content-title-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(189, 69, 52, 0.1) 0%, 
        rgba(213, 189, 138, 0.05) 50%, 
        rgba(189, 69, 52, 0.1) 100%);
    border-radius: 5px;
    z-index: -1;
    animation: titleGlow 4s infinite alternate;
    pointer-events: none;
}

@keyframes titleGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.5;
        transform: scale(1.01);
    }
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    border-radius: 4px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(189, 69, 52, 0.1);
    position: relative;
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.08);
    border: 2px solid #d5bd8a;
    box-shadow: 
        0 8px 25px rgba(213, 189, 138, 0.4),
        0 0 30px rgba(189, 69, 52, 0.5),
        inset 0 0 20px rgba(213, 189, 138, 0.2);
    filter: brightness(1.1) contrast(1.05);
}

.gallery-item-image {
    position: relative;
    overflow: visible;
}

.gallery-item-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        rgba(213, 189, 138, 0.3), 
        rgba(189, 69, 52, 0.4), 
        rgba(213, 189, 138, 0.3));
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-image::before {
    opacity: 1;
    animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 20px rgba(213, 189, 138, 0.3);
    }
    100% {
        opacity: 0.7;
        box-shadow: 0 0 35px rgba(213, 189, 138, 0.6);
    }
}

.preview-image img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(122, 30, 30, 0.7);
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.4),
        inset 0 0 10px rgba(189, 69, 52, 0.2);
    transition: all 0.3s ease;
}

.preview-item:hover .preview-image img {
    border: 1px solid #d5bd8a;
    box-shadow: 
        0 5px 15px rgba(213, 189, 138, 0.3),
        0 0 20px rgba(189, 69, 52, 0.4);
    transform: scale(1.05);
}

.wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]) {
    border: 3px solid #bd4534 !important;
    border-radius: 10px !important;
    box-shadow: 
        0 8px 25px rgba(189, 69, 52, 0.5),
        0 0 30px rgba(213, 189, 138, 0.3),
        inset 0 0 15px rgba(0, 0, 0, 0.5) !important;
    padding: 5px !important;
    background: rgba(20, 0, 0, 0.9) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    max-width: 500px !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
}

.wysiwyg-editor img:not([src*="element1"]):not([src*="element2"])::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, 
        rgba(213, 189, 138, 0.4), 
        rgba(189, 69, 52, 0.5), 
        rgba(213, 189, 138, 0.4));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]):hover {
    border-color: #d5bd8a !important;
    box-shadow: 
        0 10px 35px rgba(213, 189, 138, 0.7),
        0 0 40px rgba(189, 69, 52, 0.6),
        inset 0 0 20px rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.02) !important;
}

.wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]):hover::after {
    opacity: 1;
    animation: editorGlow 1.5s infinite alternate;
}

@keyframes editorGlow {
    0% {
        opacity: 0.4;
        box-shadow: 0 0 25px rgba(213, 189, 138, 0.4);
    }
    100% {
        opacity: 0.8;
        box-shadow: 0 0 40px rgba(213, 189, 138, 0.8);
    }
}

.wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]) {
    border: 4px solid #bd4534 !important;
    border-radius: 12px !important;
    box-shadow: 
        0 10px 30px rgba(189, 69, 52, 0.6),
        0 0 40px rgba(213, 189, 138, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.7) !important;
    padding: 8px !important;
    background: linear-gradient(135deg, 
        rgba(25, 0, 0, 0.95), 
        rgba(15, 0, 0, 0.98)) !important;
    max-width: 550px !important;
    height: auto !important;
    display: block !important;
    margin: 25px auto !important;
    position: relative;
    transition: all 0.4s ease !important;
}

.wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"])::before {
    content: '📷 Obrazek';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(90deg, #bd4534, #9a2c2c);
    color: #f3e1be;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid #d5bd8a;
    z-index: 10;
}

.wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]):hover {
    border-color: #d5bd8a !important;
    box-shadow: 
        0 15px 40px rgba(213, 189, 138, 0.8),
        0 0 50px rgba(189, 69, 52, 0.7),
        inset 0 0 25px rgba(0, 0, 0, 0.8) !important;
    transform: translateY(-5px) scale(1.02) !important;
}

.image-with-frame {
    position: relative;
    display: inline-block;
    margin: 20px;
}

.image-with-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        rgba(213, 189, 138, 0.2), 
        rgba(189, 69, 52, 0.3), 
        rgba(213, 189, 138, 0.2));
    border-radius: 15px;
    z-index: -1;
    animation: frameGlow 3s infinite alternate;
}

@keyframes frameGlow {
    0% {
        opacity: 0.3;
        transform: scale(0.98);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]) {
        max-width: 90% !important;
        margin: 15px auto !important;
    }
    
    .wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]) {
        max-width: 95% !important;
        margin: 20px auto !important;
    }
    
    .wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"])::before {
        font-size: 10px;
        padding: 3px 10px;
        right: 10px;
        top: -10px;
    }
}

.wysiwyg-editor img[style*="height: 20px"],
.wysiwyg-editor img[style*="height: 24px"],
.wysiwyg-editor img[style*="height: 30px"],
.wysiwyg-editor img[style*="width: 20px"],
.wysiwyg-editor img[style*="width: 24px"],
.wysiwyg-editor img[style*="width: 30px"] {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.wysiwyg-editor img[style*="height: 20px"]:hover,
.wysiwyg-editor img[style*="height: 24px"]:hover,
.wysiwyg-editor img[style*="height: 30px"]:hover {
    transform: none !important;
    border: none !important;
    box-shadow: none !important;
}


.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border: 1px solid transparent; 
    border-radius: 3px; 
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.3), 
        inset 0 0 10px rgba(189, 69, 52, 0.1);
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.06);
    border: 1px solid #d5bd8a; 
    box-shadow: 
        0 5px 15px rgba(213, 189, 138, 0.3), 
        0 0 20px rgba(189, 69, 52, 0.4),
        inset 0 0 10px rgba(213, 189, 138, 0.1); 
}

.wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]) {
    border: 0px solid #bd4534 !important; 
    border-radius: 6px !important;
    box-shadow: 
        0 5px 15px rgba(189, 69, 52, 0.4),
        0 0 20px rgba(213, 189, 138, 0.2),
        inset 0 0 8px rgba(0, 0, 0, 0.4) !important;
    padding: 0px !important;
    background: rgba(20, 0, 0, 0.9) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    max-width: 500px !important;
    height: auto !important;
    display: block !important;
    margin: 15px auto !important;
}

.wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]):hover {
    border: 0px solid #d5bd8a !important; 
    box-shadow: 
        0 8px 20px rgba(213, 189, 138, 0.5), 
        0 0 25px rgba(189, 69, 52, 0.5),
        inset 0 0 12px rgba(0, 0, 0, 0.5) !important;
    transform: scale(1.015) !important;
}

.wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]) {
    border: 2px solid #bd4534 !important;
    border-radius: 8px !important;
    box-shadow: 
        0 6px 18px rgba(189, 69, 52, 0.5),
        0 0 25px rgba(213, 189, 138, 0.3),
        inset 0 0 12px rgba(0, 0, 0, 0.6) !important; 
    padding: 0px !important; 
    background: linear-gradient(135deg, 
        rgba(25, 0, 0, 0.95), 
        rgba(15, 0, 0, 0.98)) !important;
    max-width: 550px !important;
    height: auto !important;
    display: block !important;
    margin: 18px auto !important; 
    position: relative;
    transition: all 0.3s ease !important;
}

.wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]):hover {
    border: 2px solid #d5bd8a !important;
    box-shadow: 
        0 10px 25px rgba(213, 189, 138, 0.6), 
        0 0 35px rgba(189, 69, 52, 0.6),
        inset 0 0 15px rgba(0, 0, 0, 0.7) !important;
    transform: translateY(-3px) scale(1.015) !important;
}

.gallery-item-image::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        rgba(213, 189, 138, 0.2),
        rgba(189, 69, 52, 0.3), 
        rgba(213, 189, 138, 0.2));
    border-radius: 5px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wysiwyg-editor img:not([src*="element1"]):not([src*="element2"])::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, 
        rgba(213, 189, 138, 0.3),
        rgba(189, 69, 52, 0.4), 
        rgba(213, 189, 138, 0.3));
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"])::before {
    content: '📷';
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(90deg, #bd4534, #9a2c2c);
    color: #f3e1be;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    border: 1px solid #d5bd8a;
    z-index: 10;
}

.preview-image img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid rgba(122, 30, 30, 0.7);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 0 8px rgba(189, 69, 52, 0.15); 
    transition: all 0.2s ease;
}

.preview-item:hover .preview-image img {
    border: 1px solid #d5bd8a;
    box-shadow: 
        0 3px 10px rgba(213, 189, 138, 0.25),
        0 0 15px rgba(189, 69, 52, 0.3);
    transform: scale(1.03);
}

.card-body img:not([src*="element1"]):not([src*="element2"]) {
    border: 1px solid #bd4534;
    border-radius: 5px;
    box-shadow: 
        0 3px 10px rgba(189, 69, 52, 0.3),
        0 0 15px rgba(213, 189, 138, 0.15);
    padding: 2px;
    background: rgba(20, 0, 0, 0.8);
    max-width: 100%;
    height: auto;
    margin: 8px 0;
    transition: all 0.2s ease;
}

.card-body img:not([src*="element1"]):not([src*="element2"]):hover {
    border: 1px solid #d5bd8a; 
    box-shadow: 
        0 5px 15px rgba(213, 189, 138, 0.4),
        0 0 20px rgba(189, 69, 52, 0.4);
    transform: scale(1.01); 
}

@keyframes glowPulse {
    0% {
        opacity: 0.2;
        box-shadow: 0 0 15px rgba(213, 189, 138, 0.2); 
    }
    100% {
        opacity: 0.5; 
        box-shadow: 0 0 25px rgba(213, 189, 138, 0.4); 
    }
}

@keyframes editorGlow {
    0% {
        opacity: 0.3; 
        box-shadow: 0 0 20px rgba(213, 189, 138, 0.3); 
    }
    100% {
        opacity: 0.6;
        box-shadow: 0 0 30px rgba(213, 189, 138, 0.5);
    }
}

@keyframes frameGlow {
    0% {
        opacity: 0.2; 
        transform: scale(0.99);
    }
    100% {
        opacity: 0.4;
        transform: scale(1.01);
    }
}

.hamburger-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    width: 50px;
    height: 50px;
    background: rgba(189, 69, 52, 0.95);
    border: 2px solid #cea565;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    padding: 0;
}

.hamburger-btn:hover {
    background: rgba(206, 165, 101, 0.95);
    transform: scale(1.05);
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active {
    background: rgba(206, 165, 101, 0.95);
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.left-column.mobile-menu-ready {
    position: fixed !important;
    top: 0;
    right: 0;
    left: auto;
    width: 100% !important;
    max-width: 400px !important;
    min-width: 0 !important;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(10, 10, 10, 0.98);
    background-image: url('../images/tlolewe.webp');
    background-size: cover;
    background-position: center;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.left-column.mobile-menu-active {
    transform: translateX(0);
}

.left-column.mobile-menu-ready .left-content {
    padding: 20px 15px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    gap: 15px;
}

.left-column.mobile-menu-ready .logo {
    flex: 0 0 auto;
    margin-bottom: 0;
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 100px;
    max-height: 150px; 
}

.left-column.mobile-menu-ready .logo img {
    width: 220px;
    max-width: 90%;
    height: auto;
    object-fit: contain;
}

.left-column.mobile-menu-ready .menu {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 60vh;
    margin-top: -40px;
}

.left-column.mobile-menu-ready .menu-bg {
    width: 100%;
    max-width: 320px;
    height: 100%;
    min-height: 300px;
    background: #1F1405;
    border: 2px solid #cea565;
    border-radius: 10px;
    padding: 15px 10px;
    box-shadow: 0 0 30px rgba(206, 165, 101, 0.3);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.left-column.mobile-menu-ready .menu-list {
    position: relative;
    top: 0;
    height: auto;
    max-height: 100%;
    overflow-y: auto;
    padding: 5px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.left-column.mobile-menu-ready .menu-item {
    width: 100%;
    margin: 0;
    flex-shrink: 0;
}

.left-column.mobile-menu-ready .menu-link {
    height: 50px;
    font-size: 14px;
    padding: 5px;
}

.left-column.mobile-menu-ready .social-buttons {
    flex: 0 0 auto;
    margin-top: -40px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.left-column.mobile-menu-ready .social-btn {
    width: 100%;
    flex-shrink: 0;
}

body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(3px);
}

@media (max-width: 1200px) {
    .left-column:not(.mobile-menu-ready) {
        display: none !important;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .center-column {
        margin-left: 0 !important;
    }
}

@media (max-height: 850px) {
    .left-column.mobile-menu-ready .logo {
        min-height: 80px;
        max-height: 120px;
    }
    
    .left-column.mobile-menu-ready .logo img {
        width: 200px;
    }
    
    .left-column.mobile-menu-ready .menu {
        min-height: 250px;
    }
    
    .left-column.mobile-menu-ready .menu-link {
        height: 45px;
        font-size: 13px;
    }
}

@media (max-height: 700px) {
    .left-column.mobile-menu-ready .logo {
        min-height: 70px;
        max-height: 100px;
    }
    
    .left-column.mobile-menu-ready .logo img {
        width: 180px;
    }
    
    .left-column.mobile-menu-ready .left-content {
        padding: 15px 10px;
        gap: 10px;
    }
    
    .left-column.mobile-menu-ready .menu {
        min-height: 200px;
    }
    
    .left-column.mobile-menu-ready .menu-link {
        height: 40px;
        font-size: 12px;
    }
    
    .left-column.mobile-menu-ready .social-buttons {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

@media (max-height: 600px) {
    .left-column.mobile-menu-ready .logo {
        min-height: 60px;
        max-height: 80px;
        padding: 5px 0;
    }
    
    .left-column.mobile-menu-ready .logo img {
        width: 160px;
    }
    
    .left-column.mobile-menu-ready .left-content {
        padding: 10px 8px;
        gap: 8px;
    }
    
    .left-column.mobile-menu-ready .menu {
        min-height: 180px;
    }
    
    .left-column.mobile-menu-ready .menu-list {
        gap: 5px;
        padding: 3px;
    }
    
    .left-column.mobile-menu-ready .menu-link {
        height: 35px;
        font-size: 11px;
    }
    
    .left-column.mobile-menu-ready .menu-bg {
        padding: 10px 8px;
    }
}

@media (max-width: 768px) {
    .hamburger-btn {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .hamburger-btn span {
        width: 25px;
        height: 2.5px;
    }
    
    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .left-column.mobile-menu-ready {
        width: 90% !important;
    }
}

@media (max-width: 480px) {
    .hamburger-btn {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .hamburger-btn span {
        width: 22px;
        height: 2px;
    }
    
    .left-column.mobile-menu-ready {
        width: 95% !important;
        max-width: 350px !important;
    }
    
    .left-column.mobile-menu-ready .logo img {
        width: 180px;
    }
    
    .left-column.mobile-menu-ready .menu-bg {
        max-width: 300px;
    }
    
    .left-column.mobile-menu-ready .social-buttons {
        max-width: 300px;
    }
}

@media (max-width: 360px) {
    .left-column.mobile-menu-ready {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .left-column.mobile-menu-ready .logo img {
        width: 160px;
    }
    
    .left-column.mobile-menu-ready .menu-bg {
        max-width: 280px;
        padding: 10px 5px;
    }
    
    .left-column.mobile-menu-ready .social-buttons {
        max-width: 280px;
    }
}


.wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]),
.wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]) {
    max-width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
}

.wyswietlana-tresc iframe[src*="youtube"],
.wyswietlana-tresc iframe[src*="youtu.be"],
.wysiwyg-editor iframe[src*="youtube"],
.wysiwyg-editor iframe[src*="youtu.be"] {
    width: 100% !important;
    max-width: 800px !important;
    height: 450px !important; 
    display: block !important;
    margin: 20px auto !important;
    border: 2px solid #bd4534 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 25px rgba(189, 69, 52, 0.5) !important;
    background: #000 !important;
}

.image-with-frame,
.wyswietlana-tresc .image-container,
.wysiwyg-editor .image-container {
    max-width: 100% !important;
    margin: 15px auto !important;
}

@media (max-width: 1200px) {
    .wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]),
    .wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]) {
        max-width: 90% !important;
        margin: 18px auto !important;
    }
    
    .wyswietlana-tresc iframe[src*="youtube"],
    .wysiwyg-editor iframe[src*="youtube"] {
        max-width: 700px !important;
        height: 394px !important;
    }
}

@media (max-width: 992px) {
    .wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]),
    .wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]) {
        max-width: 85% !important;
        margin: 16px auto !important;
    }
    
    .wyswietlana-tresc iframe[src*="youtube"],
    .wysiwyg-editor iframe[src*="youtube"] {
        max-width: 600px !important;
        height: 338px !important; 
    }
}

@media (max-width: 768px) {
    .wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]),
    .wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]) {
        max-width: 95% !important;
        margin: 15px auto !important;
    }
    
    .wyswietlana-tresc iframe[src*="youtube"],
    .wysiwyg-editor iframe[src*="youtube"] {
        width: 100% !important;
        max-width: 100% !important;
        height: 56.25vw !important;
        min-height: 250px !important;
        max-height: 450px !important;
        margin: 15px 0 !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 576px) {
    .wyswietlana-tresc img:not([src*="element1"]):not([src*="element2"]),
    .wysiwyg-editor img:not([src*="element1"]):not([src*="element2"]) {
        max-width: 100% !important;
        margin: 12px auto !important;
    }
    
    .wyswietlana-tresc iframe[src*="youtube"],
    .wysiwyg-editor iframe[src*="youtube"] {
        margin: 12px 0 !important;
        min-height: 200px !important;
        border-width: 1px !important;
        border-radius: 6px !important;
    }
}

.youtube-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(189, 69, 52, 0.5);
    border: 2px solid #bd4534;
    background: #000;
}

.youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-video-container {
    padding-bottom: 56.25%;
    height: 0;
}

@media (max-width: 768px) {
    .youtube-video-container {
        border-radius: 8px;
        margin: 15px auto;
        max-width: 100%;
    }
}