/* noto-serif-200 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/noto-serif-v33-latin_latin-ext-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-serif-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/noto-serif-v33-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-serif-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/noto-serif-v33-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-serif-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/noto-serif-v33-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-serif-200 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/noto-serif-v33-latin_latin-ext-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-serif-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/noto-serif-v33-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-serif-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/noto-serif-v33-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-serif-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/noto-serif-v33-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* playfair-display-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/playfair-display-v40-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/playfair-display-v40-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/playfair-display-v40-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-500italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/playfair-display-v40-latin_latin-ext-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/playfair-display-v40-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-600italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/playfair-display-v40-latin_latin-ext-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/playfair-display-v40-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-700italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/playfair-display-v40-latin_latin-ext-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zalando-sans-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Zalando Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/zalando-sans-v2-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* zalando-sans-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Zalando Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/zalando-sans-v2-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* zalando-sans-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Zalando Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/zalando-sans-v2-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* zalando-sans-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Zalando Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/zalando-sans-v2-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* zalando-sans-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Zalando Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/zalando-sans-v2-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --spacing-sm: 5px;
  --spacing-md: 10px;
  --spacing-lg: 15px;
  --spacing-xl: 20px;
  
  --rounded-sm: 5px;
  --rounded-md: 10px;
  
  --image-rounded-sm: var(--rounded-sm);
  --image-rounded-md: var(--rounded-md);
  
  --transition-fast: 0.1s;
  --transition-default: 0.25s;
  
  --content-width: 1200px;
  
  --image-hover-opacity: 0.85;
  
  --color-primary: #777;
  --color-primary-transparent: hsla(47, 41%, 47%, 1.00);
  --color-link: var(--color-primary);
  --color-link-hover: hsla(47, 41%, 47%, 1.00);
  
  --box-shadow: 0px -8px 30px -5px rgba(0, 0, 0, 0.33);
  
  --color-background: #fff;
  --color-background-2: #f3f3f3;
  --color-background-footer: #999;
  --color-background-transparent: #fffc;
  --color-border: #ccc;
  --color-text: #222;
  --color-text-inverted: #f1f1f1;
  --color-text-inverted-hover: #ccc;
  --color-text-secondary: #888;
  --color-text-secondary-hover: #9f9f9f;
  --color-text-hover: #777;
  --color-text-barely-visible: #999;
}

/* RESETY I INNE ########################################## */

ul, p, h1, h2, h3 {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.splide__slide img {
  width: 100%;
  height: auto;
}

body.admin-bar {
    .header-menu-mobile,
    header {
        top: 32px !important;
    }
}
@media screen and (max-width: 782px) {
    body.admin-bar {
        .header-menu-mobile,
        header {
            top: 46px !important;
        }
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar {
        header {
            top: 0px !important;
            position: sticky !important;
        }
    }
}

/* GLOBAL ################################################# */

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Zalando Sans', 'Times New Roman', Times, serif;
    letter-spacing: 0.25px;
    background-color: var(--color-background);
    color: var(--color-text);
    margin: 0;
    font-size: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    overflow: hidden;
}

h1, h2, h3, h4 {
    letter-spacing: 0.5px;
}

hr {
    border-color: var(--color-border) !important;
    border-style: solid !important;
    border-bottom: 0 !important;
    margin-block: var(--spacing-lg);
}
/* LAYOUT ################################################## */

header,
main,
footer {
    display: flex;
    justify-content: center;
    
    .language-links {
        max-width: 800px;
        display: flex;
        gap: var(--spacing-lg);
        flex-wrap: wrap;
        margin-bottom: var(--spacing-lg);
    }
}

.content-wrapper {
    max-width: var(--content-width);
    width: 100%;
}

.index-hero {
    margin-top: var(--spacing-xl);
}

/* HEADER ################################################## */

header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    background-color: var(--color-background);
    transition: border-color var(--transition-default), box-shadow var(--transition-default);
    
    &.no-transition,
    &.no-transition.away {
        transition: none !important;
    }
 
    &.away {
        .header-logo-image {
            max-width: 300px;
            margin-bottom: 0;
        }
    }
}

.site-logo {
    display: flex;
    justify-content: center;
    
    a {
        position: relative;
        display: flex;

    img {
        border-radius: 0 !important;
        background-color: transparent;
    }

}

    
    .header-logo-image {
        max-width: 500px;
        margin-block: var(--spacing-md);
        transition: max-width var(--transition-default), margin var(--transition-default);
        transition-delay: 0.025s;
        
        @media (max-width: 950px) {
            max-width: 300px;
        }
    }
    
    
    .header-logo-image--small {
        display: none;
    }
}

.header-content {
    max-width: var(--content-width);
    margin-inline: var(--spacing-xl);
    min-height: 45px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.header-search-toggle {
    all: unset;
    cursor: pointer;
    transition: color var(--transition-fast);
    
    &:hover {
        color: var(--color-text-secondary);
    }
}
.header-logo {
    margin-top: var(--spacing-md);
    display: flex;
    align-items: center;
    
}
.header-menu {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 35px;
    
    img {
        border-radius: 0 !important;
    }
    
    ul {
        position: sticky;
        list-style: none;
        display: flex;
        gap: var(--spacing-lg);
        height: 100%;
        padding: 0 var(--spacing-lg);
        
        li {
            font-size: 0.85rem;
            position: relative;
            
            &.current-menu-item {
                &:before {
                    content: '';
                    position: absolute;
                    bottom: -5px;
                    height: 5px;
                    width: 100%;
                    background-color: var(--color-border);
                    border-top-left-radius: var(--rounded-sm);
                    border-top-right-radius: var(--rounded-sm);
                }
            }
        }
        
        li a {
            padding: 0 var(--spacing-md);
            letter-spacing: 0.5px;
            font-weight: 400;
            height: 100%;
            display: flex;
            align-items: center;
            
            &:hover {
                color: var(--color-text-secondary-hover);
            }
        }
    }
    
    .menu-main-menu-container {
        height: 100%;
    }
}

.header-icon {
    all: unset;
    display: flex;
    padding: var(--spacing-md);
    color: #946200 !important;
    transition: color var(--transition-fast);
    svg {
        color: var(--color-text);
        transition: color var(--transition-fast);
        width: 18px;
    }
    
    &:hover {
        color: var(--color-text-hover) !important;
        cursor: pointer !important;
        
        svg {
            color: var(--color-text-hover) !important;
            cursor: pointer !important;
        }
    }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  margin-inline: var(--spacing-xl);
}

body.home main, .single-post main {
    position: relative;
}

.header-menu-mobile {
    width: auto;
    display: none;
    
    ul {
        li {
            &::before {
                content: none !important;
            }
        }
    }
    
    .logo-image {
        max-width: 150px;
    }
}

.header-mobile-icons {
    display: none;
    width: 100%;
    justify-content: flex-end;
}

.header-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 998;
    transition: opacity var(--transition-default) ease;
    
    &.active {
        opacity: 1;
        pointer-events: auto;
    }
}

@keyframes slide-in {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes slide-out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

.header-menu-mobile {
    z-index: 999;
    min-width: 200px;
    padding: var(--spacing-lg);
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    background-color: var(--color-background);
    display: none; /* domyślnie ukryte */
    transform: translateX(-100%); /* start poza widokiem */

    &.open {
        display: block;
        animation: slide-in var(--transition-default) forwards;
    }
    &.closing {
        animation: slide-out var(--transition-default) forwards;
    }

    & > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    ul {
        margin-top: 40px;
        padding: 0;
        flex-direction: column;

        a {
            display: block;
        }
    }

    .header-mobile-close {
        all: unset;
        display: flex;
        right: var(--spacing-md);
    }
}

/* FOOTER ################################################## */

footer {
    z-index: -1;
    width: calc(100% - 2 * var(--spacing-xl));
    padding-block: var(--spacing-xl);
    color: var(--color-text-secondary);
    padding-inline: var(--spacing-xl);
    text-align: center;
    
  @media (max-width: 580px) {
    position: initial;
    margin-top: 0;
  }
  
  & > div {
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  
  img {
      padding-bottom: var(--spacing-lg);
      max-width: 300px;
      width: 100%;
  }
  
  a {
    text-decoration: underline;
  }
}

@media screen and (max-width: 780px) {
    .header-menu-desktop { 
        display: none;
    }
    
    .header-mobile-icons {
        display: flex;
    }
}

/* INDEX LAYOUT ###################################### */

.section--darker {
  background-color: var(--color-background-2);
  width: 100%;
  display: flex;
  justify-content: center;
  margin: auto;
  padding-block: 25px;
  margin-block: 25px;
}
.index-wrapper {
    position: relative;
    display: flex;
    gap: var(--spacing-xl);
    margin-inline: var(--spacing-xl);
    
    .index-content {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xl);
        min-width: 0;
        flex: 8;
    }
    
    .index-sidebar {
        border-left: 1px solid var(--color-border);
        flex: 4;
    }
    
    @media (max-width: 1000px) {
        flex-direction: column;
        
        .index-sidebar {
            border-left: none;
        }
        
        .list-small {
            display: grid;
            gap: var(--spacing-lg);
            grid-template-columns: repeat(2, 1fr);
            
            .list-small-item {
                padding: 0 !important;
                border-bottom: none !important;
            }
        }
    }
    
    @media (max-width: 1024px) {
        .list-small {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 700px) {
        .list-small {
            grid-template-columns: repeat(1, 1fr);
        }
    }
}

/* LIST SMALL ################################### */

.list-small {
    display: flex;
    flex-direction: column;
    margin-top: var(--spacing-xl);
    top: 120px;
    
    .list-small-item {
        position: relative;
        display: flex;
        gap: var(--spacing-lg);
        &:not(:last-child) {
            padding-bottom: var(--spacing-lg);
            border-bottom: 1px solid var(--color-border);
        }
        
        &:not(:first-child) {
            padding-top: var(--spacing-lg);
        }
        
        .list-small-link {
            position: absolute;
            inset: 0;
            opacity: 0;
            z-index: 2;
        }   
        
        .list-small-thumbnail {
            min-height: 70px;
            min-width: 70px;
            max-height: 70px;
            max-width: 70px;
            flex: 1;
            overflow: hidden;
            
            img {
                height: 100%;
                width: 100%;
                object-fit: cover;
            }
        }
    }
    
    .list-small-content {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    .category-tag {
        display: inline-flex;
        position: relative;
        z-index: 2;
        font-size: 0.7rem;
        font-weight: 500;
        
        color: var(--color-text-secondary);
        
        
        a {
           background-color: transparent; 
           padding: 0;
        }
    }
}

.list-small-title {
    display: block;
    flex: 2;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    line-height: 1rem;
    font-weight: 600 !important;
}
        
/* SLIDER ################################## */


.slider {
  .splide__pagination {
    position: initial !important;
    bottom: 0px !important;
  }
  .splide__pagination__page.is-active {
    background: #666 !important;
    transform: scale(1) !important;
  }
  
  .slider-link {
    position: absolute;
    inset: 0;
    opacity: 0;
  }
}

.slider.small {
  min-height: 100px;
  
  .splide__slide__container {
      display: flex;
      flex-direction: column;
      gap: var(--spacing-md);
      position: relative;
      
      &:hover {
        img {
            opacity: var(--image-hover-opacity);
        }
      }
  }
  
  .slider-link {
    z-index: 1;
  }
  
  .slider-thumbnail {
      min-width: 100px;
      aspect-ratio: 1/1;
      overflow: hidden;
      
      img {
        transition: opacity var(--transition-fast);
        height: 100%;
        width: 100%;
        object-fit: cover;
        margin-bottom: var(--spacing-md);
    }
  }
  
  .slider-info {
    text-align: center;
  }
  
  .category-tag {
      letter-spacing: 0.5px;
      position: relative;
      z-index: 1;
  }

      
  .slider-title {
      line-height: 1.5rem;
      margin-top: var(--spacing-sm);
      letter-spacing: 0.25px;
      font-weight: 600;
  }
}

 h1, h2, h3, h4, .section-header, .list-small-title, .related-post-title {
    font-weight: 900;
  }


.slider.big {
    margin-top: var(--spacing-xl);
    
    @media (max-width: 1250px) {
        margin-inline: var(--spacing-xl);
    }
	
  .splide__pagination {
    margin-top: var(--spacing-lg);  
  }
  
  .splide__pagination__page {
    background-color: #444;
    
    &.is-active {
      background-color: #777 !important;
    }
  }
  
  
  .splide__arrow {
    opacity: 0;
    background-color: var(--color-background);
    padding: var(--spacing-sm);
    width: 30px;
    height: 30px;
    transition: opacity var(--transition-fast);
  }
  
  &:hover {
    .splide__arrow {
        opacity: 1;
    }
  }

  .splide__slide {
    overflow: hidden;
    aspect-ratio: 16/7;
  }
  
  .splide__slide__container {
      height: 100%;
      display: flex;
      align-items: flex-end;
      gap: var(--spacing-lg);
  }
  
  .slider-link {
    z-index: 1;
  }
  
  .slider-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: 50px;
    max-width: 1000px;
    margin-inline: 50px;
    
    @media (max-width: 900px) {
        margin-bottom: 25px;
        margin-inline: 25px;
    }
  }
  
  .slider-thumbnail {
    flex: 1;
    position: absolute;
    inset: 0;
    z-index: -1;
    
      overflow: hidden;
    
    img {
      object-fit: cover;
      height: 100%;
      width: 100%;
      transition: opacity var(--transition-fast);
    }
    
    &:before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, #0000, #000a);
        border-radius: var(--rounded-md);
    }
  }
  
  .slider-title {
      margin-top: var(--spacing-sm);
      font-size: 3rem;
      font-weight: 500;
      line-height: 3.25rem;
      letter-spacing: 1px;
      color: #f9f9f9;
      
      @media (max-width: 1200px) {
        font-size: 2.25rem;
        line-height: 2.75rem;
      }
      
      @media (max-width: 900px) {
        font-size: 1.5rem;
        line-height: 2rem;
      }
  }
  
  .slider-excerpt {
    margin-top: var(--spacing-lg);
    line-height: 1.5rem;
  }
}

.slider.fullwidth {
  --slider-fw-height: 500px;
  position: relative;
  height: var(--slider-fw-height);
  margin-inline: calc(-1 * var(--spacing-md));
  overflow: hidden;
  color: var(--color-text-inverted);
  
  @media (max-width: 600px) {
    --slider-fw-height: 600px;
  }
  
  .splide__slide {
    height: var(--slider-fw-height);
    position: relative;
  }
  
  .slider-gradient {
    &:before, &:after {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }
    
   
  
  }
  
  .splide__slide__container {
    height: var(--slider-fw-height);
  }
  
  .slider-link {
    z-index: 2;
  }
  
  .slider-thumbnail {
    height: 100%;
    
    @media (max-width: 600px) {
        height: 70%;
    }
    
    overflow: hidden;
    img {
        height: 100%;
        object-fit: cover;
    }
  }
  
  .slider-info {
    max-width: calc(100vw - var(--spacing-xl));
    width: var(--content-width);
    position: absolute;
    right: 0;
    left: 0;
    width: 66%;
    top: 0;
    bottom: 0;
    z-index: 1;
    margin: auto;
    
    .category-tag {
      font-size: 1rem;
      
      @media (max-width: 600px) {
        font-size: 0.75rem;
      }
    }
    
    .slider-title {
      font-size: 2rem;
      margin-bottom: var(--spacing-lg);
      
      @media (max-width: 600px) {
        font-size: 1.5rem;
      }
    }
    
    .slider-excerpt {
        line-height: 1.5rem;
    }
  }
}

.overlay-gradient {
    &:before {
        content: '';
        pointer-events: none;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 85%;
        background: linear-gradient(#0000, #000);
        transition: opacity var(--transition-fast);
    }
}

/* WSZYSTKO INNE ################################## */
.category-tag {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.25px;
    color: var(--color-primary);
    font-family: 'Zalando Sans';
    
    a {
        text-decoration: none;
        
        &:hover {
            color: var(--color-primary) !important;
        }
    }
}

.section-header {
    top: 0;
    width: 100%;
    position: relative;
    display: inline-block;
    font-size: 2rem;
    letter-spacing: -0.5px;
    font-weight: 500;
    padding-block: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.section-header--alternate {
  border: none !important;
  text-align: center;
}

.section-header-hr {
  margin-top: 0;
  opacity: 0;
}

/* SEARCH ######################################## */

.search-overlay {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-default) ease;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.5);
  justify-content: center;
  align-items: flex-start;
  z-index: 1500;
  pointer-events: none;
}

.search-overlay.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.search-overlay.closing {
  opacity: 0;
  pointer-events: none;
}

.search-overlay-content {
  display: flex;
  background-color: var(--color-background);
  padding: var(--spacing-md);
  max-width: 400px;
  position: relative;
  top: 95px;
  margin-inline: var(--spacing-lg);
  max-width: 100vw;
  overflow: hidden;
}

.search-overlay-content form {
  display: flex;
  gap: 0.5rem;
}

.search-overlay-content input[type="search"] {
  width: 100%;
  font-size: 1.25rem;
  padding: var(--spacing-md) var(--spacing-lg);
  border: 1px solid var(--color-border);
}

.search-overlay-content button[type="submit"] {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary, #000);
}

.search-overlay-close {
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary, #000);
  cursor: pointer;
}

/* SEARCH RESULTS ############################################################################# */

.archive-page-title {
    margin-block: var(--spacing-xl);
    span {
        color: var(--color-text-secondary);
    }
}

.post-list-archive {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    
    .post {
        position: relative;
        display: flex;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg);
        
        .category-tag {
            display: flex;
        }
        
        &:not(:last-child) {
            border-bottom: 1px solid var(--color-border);
        }
        
        &:hover {
            .post-thumbnail img {
             opacity: var(--image-hover-opacity);
            }
        }
    }
    
    .post-link {
        position: absolute;
        inset: 0;
        opacity: 0;
    }
    
    .post-thumbnail {
      height: 200px;
      aspect-ratio: 1/1;
        
        img {
            width: 300px;
            height: 100%;
            object-fit: cover;
            transition: opacity var(--transition-fast);
            pointer-events: none;
        }
        
    }
    
    .post-thumbnail-background {
      position: absolute;
      inset: 0;
      overflow: hidden;
      z-index: -1;
      opacity: 0.3;
      
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        scale: 1.2;
        filter: blur(20px);
      }
    }
    
    .post-excerpt {
        line-height: 1.5rem;
    }
    
    .post-category {
      margin-bottom: var(--spacing-sm);
    }
    
    .post-title {
        margin-bottom: var(--spacing-md);
    }
    
    @media (max-width: 750px) {
        gap: 50px;
        
        .post {
            flex-direction: column;
            gap: var(--spacing-md);
        
            .post-thumbnail img {
                width: 100%;
            }
        }
    }
}

/* SINGLE POST ################################### */

.post-content, .privacy-policy {
    h1, h2, h3, h4, h5 {
      scroll-margin-block: 115px;
      margin-top: calc(2 * var(--spacing-lg));
      margin-bottom: var(--spacing-lg);
  }
  
  line-height: 1.5rem;
  
  h2 {
    line-height: 1.75rem;
  }
  
  a {
    text-decoration: underline;
  }
}

.singular-post {
    .category-tag {
        margin-right: var(--spacing-md);
    }
    .post-meta {
        margin-bottom: var(--spacing-lg);
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .post-content {
        a {
            font-weight: bold;
        }
    }
}
    
body.wp-singular .post-thumbnail {
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
   
    img {
        aspect-ratio: 16/9;
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }
}

.single-post-container {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    
    h1 {
        font-weight: 500;
        letter-spacing: -0.5px;
        line-height: 2.5rem;
        margin-bottom: var(--spacing-xl);
    }
    
    h2 {
        font-weight: 500;
        letter-spacing: -0.5px;
    }
    
    p {
        letter-spacing: 0px;
    }
    
    table {
        border-spacing: 0px;
        border-collapse: collapse;
    }
    td {
        border: solid 1px var(--color-border);
        padding: var(--spacing-sm) var(--spacing-md);
    }


    .post-content {
        & > * {
            margin-bottom: var(--spacing-lg);
        }
    }
    
    .main-content {
        flex: 4;
        
        .post {
            position: relative;
            
            & > * {
                margin-bottom: var(--spacing-lg);
            }
            
            .post-meta {
                padding-top: 120px;
                
                &.has-thumbnail {
                    padding-top: 450px;
                    
                    @media (max-width: 600px) {
                        padding-top: 350px;
                    }
                }
                
                 margin-bottom: var(--spacing-md);
                
                .post-date, .post-category {
                    position: relative;
                    padding-left: var(--spacing-md);
                    margin-left: 2px;
                    
                    &:before {
                        content: "";
                        position: absolute;
                        left: 0px;
                        top: 50%;
                        width: 3px;
                        height: 3px;
                        background-color: var(--color-text-secondary);
                        transform: translateY(-50%);
                        border-radius: 50px;
                    }
                
                }
            }
            
            .post-title {
                margin-bottom: 25px;
                font-size: 3rem;
                
                @media (max-width: 600px) {
                    font-size: 2rem;
                }
            }
            
            .post-content {
                h1:first-of-type {
                    display: none;
                }
            }
        }
    }
    
    .single-sidebar {
        flex: 1;
        margin-bottom: var(--spacing-lg);
        
        .sidebar-posts {
            @media (max-width: 1024px) {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: var(--spacing-md);
                
                .sidebar-post-item {
                    border-bottom: none !important;
                }
                
                .sidebar-post-item--big {
                    padding-top: 0;
                    
                    .overlay-gradient::before {
                        display: none;
                    }
                }
            }
            
            @media (max-width: 800px) {
                grid-template-columns: repeat(2, 1fr);
            }
            
            @media (max-width: 500px) {
                grid-template-columns: repeat(1, 1fr);
            }
        }
        
        .sidebar-post-item {
            position: relative;
            
            &:not(.sidebar-post-item--big) {
              &:hover {
                .sidebar-post-thumbnail img {
                  opacity: var(--image-hover-opacity);
                }
              }
            }
            
            a {
                display: flex;
                align-items: center;
                gap: var(--spacing-lg);
                
                &:hover {
                    color: inherit;
                }
                
                .sidebar-post-thumbnail {
                    flex: 1;
                    
                    img {
                        height: 50px;
                        width: 100%;
                        object-fit: cover;
                        transition: opacity var(--transition-fast);;
                    }
                }
                
                .sidebar-post-title {
                    flex: 2;
                    line-height: 1rem;
                }
            }
            
              &.sidebar-post-item--big {
                    @media (min-width: 1024px) {
                        &:hover {
                        .overlay-gradient::before {
                          opacity: var(--image-hover-opacity);
                        }
                    }
                    
                    .sidebar-post-thumbnail {
                        position: relative;
                        border-radius: var(--rounded-md);
                        overflow: hidden;
                        margin-bottom: var(--spacing-sm);
                        
                        
                        
                        img {
                            height: 155px;
                        }
                    }
                    
                    .sidebar-post-title {
                        position: absolute;
                        bottom: 0;
                        padding: var(--spacing-xl) var(--spacing-lg);
                        color: var(--color-text-inverted);
                        font-size: 1rem;
                        transition: color var(--transition-fast);
                        line-height: 1.25rem;
                        letter-spacing: 0.75px;
                    }
                    
                    .category-tag {
                        display: inline-block;
                        color: var(--color-text-inverted-hover);
                        margin-bottom: var(--spacing-sm);
                    }
                    }
                }
        }
        
        h3 {
            margin-bottom: var(--spacing-lg);
        }
        
        ul {
            display: flex;
            flex-direction: column;
        }
        
        li {
            padding-top: var(--spacing-md);
            
            &:not(:last-child) {
                border-bottom: 1px dotted var(--color-border);
                padding-bottom: var(--spacing-sm);
            }
            
            &:first-child {
              padding-top: 0;
            }
            
        }
        
    }
    
    .related-posts-section {
        margin-top: var(--spacing-xl);
        margin-bottom: var(--spacing-lg);
        
        h2 {
            margin-bottom: var(--spacing-lg);
        }
    }
    
    hr {
        margin-top: var(--spacing-xl);
    }
    .related-posts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        
        .related-post {
            &:hover {
                a {
                    color: var(--color-text) !important;
                }
                
                .related-post-thumbnail img {
                    opacity: var(--image-hover-opacity);
                }
            }
        }
        
        .related-post-thumbnail {
            width: 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            margin-bottom: var(--spacing-lg);
        }

        .related-post-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            aspect-ratio: 16 / 9;
            transition: opacity var(--transition-fast);
        }
        
        .related-post-title {
            display: block;
            margin-bottom: var(--spacing-lg);
            font-weight: 500;
            letter-spacing: 0px;
            line-height: 1.5rem;
        }
        
        .related-post-excerpt {
          line-height: 1.25rem;
        }
    }
    
    @media (max-width: 1024px) {
        flex-direction: column;
    }
    
    @media (max-width: 800px) {
        .related-posts {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 500px) {
        .related-posts {
            grid-template-columns: repeat(1, 1fr);
        }
    }
}

.sidebar-container {
    padding-inline: var(--spacing-xl);
    
    @media (max-width: 1000px) {
        background-image: none;
        padding-inline: 0;
    }
}

.sidebar-container--shadow {
    padding-bottom: var(--spacing-xl);
    
    @media (max-width: 1000px) {
        background-image: none;
    }
}
/* SPIS TREŚCI ############################################# */

.toc-container {
  margin-top: var(--spacing-lg);
  background-color: #111;
  color: var(--color-text-inverted);
}

.toc-checkbox { display: none; }
.toc-toggle-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  
  &:hover {
    .toc-icon {
      color: var(--color-text-hover);
    }
  }
}

.toc-icon {
  transition: color var(--transition-fast);
}

.toc-list {
  interpolate-size: allow-keywords;
  height: 0;
  overflow: hidden;
  transition: height var(--transition-default);
  border-top: none;
  padding-inline: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  
  a {
    color: var(--color-text-inverted) !important;
    font-weight: 400 !important;
    
    &:hover {
        color: var(--color-text-inverted-hover) !important; 
    }
  }
  
  
}
.toc-checkbox:checked ~ .toc-list {
    height: auto;
}
.toc-list ul { list-style: none; margin: 0; padding: 0; }
.toc-list li { margin: 6px 0; }
.toc-list li.toc-level-3 { margin-left: 20px; font-size: 0.9em; }
.toc-list li a { color: #0073aa; text-decoration: none; }

/* PAGINATION PAGINACJA ############################################# */

.pagination {
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    
    @media (max-width: 450px) {
      .page-numbers.prev, .page-numbers.next {
        display: none !important;
      }
    }
    
    .nav-links {
      display: flex;
      flex-wrap: wrap;
      gap: var(--spacing-sm);
        
        .page-numbers:not(.dots) {
            box-sizing: border-box;
            display: inline-grid;
            place-content: center;
            min-height: 30px;
            min-width: 30px;
            border: 1px solid var(--color-border);
            padding-inline: var(--spacing-md);
            border-radius: var(--rounded-sm);
            font-weight: 600;
            font-size: 12px;
            transition: background-color var(--transition-fast);
            
            &:hover {
                color: inherit;
                background-color: var(--color-primary-transparent);
            }
            
            &.current {
                border: none;
                background-color: var(--color-primary);
                color: var(--color-text-inverted);
            }
        }
        
    }
    
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  
}

.post-grid {
  display: grid;
  gap: var(--spacing-xl);
  margin: 0 auto;
}

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

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

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

.post {
    position: relative;
    display: flex;
    gap: var(--spacing-xl);
    
    .post-link {
        position: absolute;
        inset: 0;
        opacity: 0;
        z-index: 2;
    }
    
    .post-thumbnail {
      img {
        width: 100%;
        object-fit: cover;
      }
    }
    
    
    
    .post-info {
        justify-content: center;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .post-title {
        font-size: 1.5rem;
        line-height: 2rem;
        letter-spacing: 0.5px;
    }
    
    .post-excerpt {
        line-height: 1.75rem;
        font-style: italic;
        
    }
}

.post--horizontal-big {
  
  &:nth-child(2n) {
    flex-direction: row-reverse;
  }
    
  .post-thumbnail {
        aspect-ratio: 1/1;
        width: 50%;
        height: 100%;
        min-width: calc(50% - 10px);
        
        img {
            aspect-ratio: 1/1;
            width: 100%;
            height: 100%;
        }
    }
    
    .post-info {
      width: calc(50% - 15px);
    }
}

.post--vertical {
  flex-direction: column;
  gap: 0;  
 
  
  .post-content-wrapper {
    display: flex;
    gap: var(--spacing-xl);
    
  }
  
  .post-column-author {
    .post-avatar {
        width: 50px;
        height: 50px;
        background-position: center;
        background-size: cover;
        border-radius: 999px;
        overflow: hidden;
    }
  }
  
  
  
  .post-column-content {
    padding-bottom: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
  }
  
  @media (max-width: 1000px) {
    .post-column-author {
        display: none;
    }
    
    .post-column-content {
        margin-bottom: 0;
    }
  }
  
  &:not(:last-child) {
    .post-column-content {
        border-bottom: 1px solid var(--color-border);
    }
  }
  .category-tag {
    margin-top: var(--spacing-md);
    display: flex;
    z-index: 22;
  }
  
  
  .post-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
  }
  img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
  
  .post-info {
    gap: var(--spacing-sm);
  }
  
  .post-title {
    font-weight: 600;
    font-size: 2rem;
    line-height: 2.25rem;
    letter-spacing: -1px;
    
    @media (max-width: 1024px) {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    @media (max-width: 640px) {
        font-size: 1rem;
        line-height: 1.5rem;
    }
  }
  
  .post-excerpt {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.25rem;
    font-style: normal;
  }
}

.post--grid {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: var(--spacing-lg);
  
  .post-thumbnail {
      position: relative;
    aspect-ratio: 16/9;
    
    img {
        aspect-ratio: 16/9;
      height: 100%;
    }
  }
  
  .post-info {
      justify-content: flex-end;
      z-index: 2;
    }
    
    .category-tag {
        position: absolute;
        display: flex;
        bottom: var(--spacing-sm);
        left: var(--spacing-sm);
        margin-bottom: 0;
      
      a {
        position: relative;
        z-index: 3;
      }
    }
    
    .post-title {
      font-size: 1rem;
      line-height: 1.5rem;
      letter-spacing: 0.5px;
    }
    
    .post-excerpt {
        color: var(--color-text-secondary);
        font-size: 0.85rem;
        line-height: 1.25rem;
        font-style: normal;
    }
}

.marquee-wrapper {
    margin-inline: var(--spacing-xl);
}
.currency-marquee {
    z-index: 1;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    height: 40px;
    line-height: 40px;
    overflow: hidden; /* ZOSTAWIONO */
    isolation: isolate;
    max-width: var(--content-width);
    margin: auto;
}

.currency-marquee__inner {
    display: inline-block;
    animation: marquee 100s linear infinite;
}

@keyframes marquee {
    0% { 
        transform: translateX(0%); 
        opacity: 0;
    }
    0.25% {
        opacity: 1;
    }
    100% { transform: translateX(-100%); }
}

.currency-marquee:hover .currency-marquee__inner {
    animation-play-state: paused;
}

.currency-item {
    isolation: isolate;
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
    gap: var(--spacing-md);
    font-size: 0.85rem;
    padding: 0 var(--spacing-xl);
    transition: all 0.2s ease;
    
    &:nth-child(even) {
        background-color: var(--color-background-2);
    }
    
    &:nth-child(odd) {
        background-color: var(--color-background);
    }
}

.currency-item:hover {
    scale: 1.1;
}

.currency-code {
    font-weight: 400;
    text-align: left;
    display: flex;
    height: 22px;
    justify-content: center;
    align-items: center;
    border-radius: var(--rounded-md);
}

.currency-value {
    font-weight: 400;
}

.currency-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.change-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    transition: all 0.2s ease;
}

.change-arrow.up {
    border-bottom: 10px solid #28a745;
}

.change-arrow.down {
    border-top: 10px solid #dc3545;
}

.currency-change.up {
    color: #28a745;
}

.currency-change.down {
    color: #dc3545;
}

/* USUNIĘTO wszystkie ::after i ::before - natywny tooltip */

@media (max-width: 768px) {
    .currency-marquee {
        font-size: 12px;
        height: 36px;
        line-height: 36px;
    }
    
    .currency-item {
        gap: 8px;
        padding: 0 15px;
    }
    
    .currency-code {
        min-width: 30px;
        font-size: 13px;
    }
    
    .currency-value {
        font-size: 13px;
    }
}


.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    
    @media (max-width: 1024px) {
        display: block;
    }
}

.column {
    @media (min-width: 1025px) {
        &:not(:last-child) {
            padding-right: var(--spacing-lg);
            border-right: 1px solid var(--color-border);
        }
        
        &:not(:first-child) {
            padding-left: var(--spacing-lg);
        }
    }
    
    @media (max-width: 1024px) {
        &:not(:last-child) {
            margin-bottom: var(--spacing-xl);
        }
    }
    
    &.column--full {
        grid-column: span 12;
        background-color: #111;
        color: var(--color-text-inverted);
        
        .post--vertical {
            flex-direction: row;
            
            .post-thumbnail {
                flex: 0.45;
                aspect-ratio: 16/7;
            }
            
            .post-info {
                flex: 0.55;
                padding: var(--spacing-xl);
                
                .category-tag {
                    justify-content: center;
                }
                
                text-align: center;
                
                .post-excerpt {
                    color: var(--color-text-barely-visible);
                    margin-top: var(--spacing-sm);
                }
            }
        }
        
        &.column--full-reversed {
            .post--vertical {
                flex-direction: row-reverse;
            }
        }
    }
    
    &.column--half {
        grid-column: span 6;
    }
    
    &.column--half-horizontal {
        .post--vertical {
            flex-direction: row;
            
            .post-thumbnail {
                aspect-ratio: 16/9;
                flex: 0.445;
            }
            
            .post-info {
                flex: 0.5;
                padding: var(--spacing-lg);
                padding-top: 0;
                justify-content: flex-start;
            }
            
            .post-title {
                font-size: 1rem;
                line-height: 1.25rem;
                letter-spacing: -0.5px;
                
                @media (max-width: 1024px) {
                    font-size: 1.5rem;
                    line-height: 2rem;
                }
                
                @media (max-width: 600px) {
                    font-size: 1rem;
                    line-height: 1.5rem;
                }
            }
        }
    }
    
    &.column--third {
        grid-column: span 4;
       
       .post--vertical {
            .post-title {
                font-size: 1.25rem;
                line-height: 1.25rem;
                
                @media (max-width: 1024px) {
                    font-size: 1.5rem;
                    line-height: 1.75rem;
                }
                
                @media (max-width: 600px) {
                    font-size: 1rem;
                    line-height: 1.25rem;
                }
            }
       }
    }
    
    &.column--quarter {
        grid-column: span 3;
        
        .post--vertical {
            .post-title {
                font-size: 1rem;
                line-height: 1.25rem;
                letter-spacing: -0.5px;
                
                @media (max-width: 1024px) {
                    font-size: 1.5rem;
                    line-height: 1.75rem;
                }
                
                @media (max-width: 600px) {
                    font-size: 1rem;
                    line-height: 1.25rem;
                }
            }
        }
        
        &.column--brief {
            position: relative;
            height: fit-content;
            
            & > div {
                background-color: var(--color-background-2);
            padding: var(--spacing-lg);
                
            }
            
            &:first-of-type {
                margin-right: var(--spacing-lg);
            }
            
            &:last-of-type {
                margin-left: var(--spacing-lg);
                padding-left: 0;
            }
            
            @media (max-width: 1024px) {
                margin-inline: 0 !important;
            }
            &:before {
                content: '';
                position: absolute;
                height: 8px;
                width: 50px;
                background-color: var(--color-primary);
                top: 0;
                left: var(--spacing-lg);
            }
            
            .category-tag {
                display: inline-block;
                margin-bottom: var(--spacing-lg);
            }
            
            .post--vertical {
                &:not(:last-child) {
                    border-bottom: 1px solid var(--color-border);
                    padding-bottom: var(--spacing-lg);
                }
            }
        }
    }
    
    &.column--three-quarters {
        grid-column: span 9;
    }
}

.spacing-top {
    margin-top: 30px;
}

.spacing-bottom {
    margin-bottom: 30px;
}
