/*
Theme Name: Jake Light
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: Custom WordPress theme using Neue Power and General Sans fonts
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/



@font-face {
    font-family: 'Druk med';
    src: url('fonts/druk/Druk-Medium.woff2') format('woff2'),
        url('fonts/druk/Druk-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/general/GeneralSans-MediumItalic.woff2') format('woff2'),
        url('fonts/general/GeneralSans-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/general/GeneralSans-Semibold.woff2') format('woff2'),
        url('fonts/general/GeneralSans-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/general/GeneralSans-Bold.woff2') format('woff2'),
        url('fonts/general/GeneralSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/general/GeneralSans-Light.woff2') format('woff2'),
        url('fonts/general/GeneralSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/general/GeneralSans-SemiboldItalic.woff2') format('woff2'),
        url('fonts/general/GeneralSans-SemiboldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/general/GeneralSans-Medium.woff2') format('woff2'),
        url('fonts/general/GeneralSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/general/GeneralSans-Regular.woff2') format('woff2'),
        url('fonts/general/GeneralSans-Regular.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

#selected-works {
    scroll-margin-top: 60px;
    /* justera efter din headerhöjd */
}


.jsp-content ul {
    list-style: disc;
    padding: 5px 20px;
}



.jsp-content br {
    display: block;
    margin-bottom: 0.75rem;
}

.gilroy {
    font-family: 'Gilroy' !important;

}

.neue {
    font-family: 'Druk med' !important;


}

.general {
    font-family: 'General Sans' !important;

}


.dark {
    color: #1E2330 !important;
}

body {

    font-family: 'General Sans' !important;
    font-weight: 200;
    background: #fff;


}


.medium {
    font-family: 'General Sans';
    font-weight: medium;
}

.general {
    font-family: 'General Sans' !important;
}


.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

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

.skeleton {
    background-color: #f4f4f4;
    height: 100%;
    width: 100%;
}

.skeleton-img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.skeleton-text {
    height: 20px;
    background-color: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 4px;
}

b,
strong {
    font-weight: bold !important;
}


[x-cloak] {
    display: none !important;
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: #f1f1ef;
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.65) 50%,
            transparent 100%);
    transform: translateX(-100%);
    animation: skeleton-loading 1.2s ease-in-out infinite;
}

@keyframes skeleton-loading {
    100% {
        transform: translateX(100%);
    }
}