/*
Theme Name: Spruik
*/

/* COLOR VARIABLES */
:root {
    --color0: #EBB8D4;
    --color1: #C5F072;
    --color2: #EBB8D4;
    --color3: #122023;
    --color4: #FA7A70;
    --color5: #FFFFFF;
}


/* FONTS */
@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/spruik/fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IvyOra';
    src: url('/wp-content/themes/spruik/fonts/IvyOra.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* GENERAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased; /* For WebKit (Chrome, Safari) */
    -moz-osx-font-smoothing: grayscale;  /* For Firefox on macOS */
}

ul, ol {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

input, textarea, select {
    font: inherit;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

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

/* WORDPRESS SPECIFIC */
.entry-title {

}
  
.entry-content {
    margin-top: 1em;
}

html {

}

/* GENERAL STYLES */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4;
}
main {
    pointer-events: none;
    transition: background-color 0.3s ease;
    background-color: var(--color2);
}
@media screen and (max-width: 1440px) {
    header a, header .dropdown-nav a {
        font-size: 15px;
    }
}
.page-template-articles main {
    background-color: var(--color3);
    color: #fff;
}
.archive main {
    background-color: #122023;
    color: #fff;
}
.single main {
    background-color: #fff;
}
article, .adjacent-posts {
    pointer-events: auto;
}
.content-section.p {
    pointer-events: auto;
}
a {
    display: inline-block;
    line-height: 1;
}

/* FONTS */
html {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4;
    scroll-behavior: smooth;
}

main p {
    font-size: 1.25rem;
    line-height: 1.5;
    padding-bottom: 1.25rem;
}

.single-post .entry-content p, .single-post .entry-content li  {
    font-size: 1rem;
}

.single-post .entry-content p  {
    padding: 0 0 1rem;
}

h1, .style-h1, p.style-h1, .style-h2, h3, h4, h5, h6, h2 span {
    font-family: 'IvyOra', serif;
    font-weight: 400;
    line-height: 1.2;
}

.single h1, .single h2, .single h3, .single h4, .single h5, .single h6 {
    font-family: 'Inter', serif;
    margin: 1rem 0;
}

.archive h1, .contact-form h1 {
    font-family: 'Inter', serif;
    font-size: 30px;
}

.single h1 {
    font-family: 'Inter', serif;
}

h1, .style-h1, p.style-h1 {
    font-size: 50px;
}

.archive h1, .single h1, .page-template-articles h1, span.client-name  {
    font-size: 30px;
    font-family: 'Inter', serif;
}

.archive h1, .single h1 {
    font-weight: 600;
}

h2 {
    font-family: 'Inter', serif;
    font-size: 30px;
    line-height: 1.2;
}

.single-post .entry-content h2 {
    margin: 0;
    padding: 1.25rem 0 1rem;
}

.style-h2, .single h1 {
    font-size: 30px;
}

h3 {
    font-size: 30px;
}

.single-post .entry-content h3 {
    font-size: 28px;
    margin: 0;
    padding: 1rem 0;
}

h4 {
    font-size: 26px;
}
.style-h5 {
    font-size: 20px;
}

/* ENTRY CONTENT LIST STYLES */
.entry-content li {
    line-height: 1.5;
}

.entry-content ul,
.entry-content ol {
    margin-left: 1.5em;
    margin-bottom: 1.5rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

/* Ensure nested lists have proper styling */
.entry-content ul ul,
.entry-content ol ul {
    list-style-type: circle;
    margin-top: 0.5rem;
}

.entry-content ul ol,
.entry-content ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.5rem;
}

/* Adjust padding for mobile devices */
@media screen and (max-width: 767px) {
    .entry-content ul,
    .entry-content ol {
        margin-left: 1em;
    }
}

@media screen and (min-width: 768px) {
    main p {
        font-size: 1.5rem;
        padding-bottom: 1.5rem;
    }
    body.single-post .entry-content p, body.single-post .entry-content li {
        font-size: 1.125rem;
    }
    body.single-post .entry-content p {
        padding: 0 0 1.125rem;
    }
    h1, .style-h1, p.style-h1, .style-h2, .single h1 {
        font-size: 60px;
    }
    .single h1, .page-template-articles h1  {
        font-size: 45px;
        font-family: 'Inter', serif;
        font-weight: 600;
    }
    body.single-post .entry-content h2 {
        padding: 2.5rem 0 2rem;
        font-size: 42px;
    }
    body.single-post .entry-content h3 {
        padding: 1.25rem 0 1.25rem;
        font-size: 36px;
    }
    h3 {
        font-size: 40px;
    }
    h4 {
        font-size: 35px;
    }
    .style-h5 {
        font-size: 30px;
    }
}

@media screen and (min-width: 1024px) {
    h1, .style-h1,  p.style-h1, .style-h2 {
        font-size: 70px;
    }
    .single h1, .page-template-articles h1 {
        font-size: 60px;
        font-family: 'Inter', serif;
        font-weight: 600;
    }
    body.single-post .entry-content p, body.single-post .entry-content li {
        font-size: 1.5rem;
    }
    body.single-post .entry-content p {
        padding: 0 0 1.125rem;
    }
}

@media screen and (min-width: 1224px) {
    h1, .style-h1,  p.style-h1, .style-h2 {
        font-size: 80px;
    }
    .single h1, .page-template-articles h1  {
        font-size: 64px;
        font-family: 'Inter', serif;
        font-weight: 600;
    }
    body.single-post .entry-content h2 {
        font-size: 52px;
    }
    body.single-post .entry-content h3 {
        font-size: 44px;
    }
}

/* LAYOUT */
section {
    margin: 0;
}
.two-col {
    display: grid;
}

@media screen and (min-width: 768px) {
    section {
        margin: 0;
    }
    .two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
  
.padding-global {
    padding-left: 6vw;
    padding-right: 6vw;
}
  
.container-global {
    width: 100%;
    max-width: 120rem;
    margin-left: auto;
    margin-right: auto;
}

.padding-large {
    padding: 8rem 0;
}
.padding-large.top {
    padding-bottom: 0;
}
.padding-large.bottom {
    padding-top: 0;
}

.padding-medium {
    padding: 6rem 0;
}

.padding-medium.top {
    padding-bottom: 0;
}

.padding-medium.bottom {
    padding-top: 0;
}

.padding-small {
    padding: 3.125rem 0;
}
.padding-small.bottom {
    padding-top: 0;
}
.padding-small.top {
    padding-bottom: 0;
}

@media screen and (min-width: 768px) {
    .padding-large {
        padding: 15rem 0;
    }
    .padding-medium {
        padding: 10rem 0;
    }
    .padding-small {
        padding: 6.5rem 0;
    }
}

.content {
    max-width: 105rem;
    margin: auto;
}

.social-icons-desktop svg path:first-of-type {
    transition: fill 0.3s ease;
}

.social-icons-desktop a:hover svg path:first-of-type {
    fill: var(--color0);
}