/*
Theme Name: Nordic Essence
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A simple custom theme for a company site.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nordicessence
*/

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: #fff;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', Arial, sans-serif;
}

p {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 300;
}

.site-header {
    background: #fff;
    color: #222;
    padding: 10px 0;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 1000;
	width: 100%;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0 24px;
    box-sizing: border-box;
}

.company-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.site-navigation .verkkokauppa-link,
.site-navigation .verkkokauppa-link:visited {
    color: #ac9273;
    margin-left: 16px;
}

.site-title-link,
.site-title-link:hover,
.site-title-link:visited {
    text-decoration: none;
    color: inherit;
}

.site-title {
    font-size: 2.2rem;
    font-weight: 600;
    font-family: 'Roboto', Arial, sans-serif;
    letter-spacing: 2px;
}

.site-slogan {
    font-size: 0.65rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #555;
    margin-top: 2px;
    margin-bottom: 0;
}

.site-navigation {
    margin-left: auto;
    display: flex;
    gap: 24px;
}

.site-navigation li {
    list-style: none;
}

.site-navigation a {
    color: #222;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.2s;
}

a {
    font-family: 'Montserrat', sans-serif;
}

.site-navigation a:hover {
    color: #dbd2c4;
}

.site-navigation a.current-menu-item,
.site-navigation a.current_page_item {
    color: #ac9273;
}

.site-content {
    width: 100%;
    margin: 0px;
    padding: 0px;
    min-height: 400px;
    background: #fff;
}

.site-content--padded {
    padding: 0 40px;
    box-sizing: border-box;
}

/* Custom block style: Purple Large */
.is-style-purple-large,
.is-style-purple-large a {
    font-size: 44px;
    color: #bea5e6;
}

.site-content {
    flex: 1;
}

.site-footer {
    background: #efebe5;
    color: #222;
    padding: 20px 0;
    font-size: 1rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 24px;
    box-sizing: border-box;
}

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

.footer-right {
    text-align: right;
}

.footer-right a {
    color: #222;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    transition: color 0.2s;
}

.footer-right a:visited {
    color: #222;
}

.footer-right a:hover {
    color: #dbd2c4;
}

/* Hamburger button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #222;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-btn.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px;
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #222;
    line-height: 1;
    padding: 0;
}

.mobile-menu-close:hover {
    color: #555;
}

.mobile-menu-logo {
    margin-top: 56px;
    margin-bottom: 36px;
}

.mobile-menu-logo img {
    width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    list-style: none;
}

.mobile-menu-nav a {
    font-size: 1.4rem;
    color: #222;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.mobile-menu-nav a:hover {
    color: #dbd2c4;
}

/* Responsive breakpoint */
@media (max-width: 1024px) {
    .hamburger-btn {
        display: flex;
    }

    .site-navigation {
        display: none;
    }
}



/* =============================================
   Single Blog Post
   ============================================= */

.single-post {
    max-width: 860px;
    margin: 48px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .single-post {
        padding: 0 12px;
    }
}

.single-post__title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 1px;
    margin: 0 0 10px;
}

.single-post__meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 32px;
}

.single-post__content {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: #222;
}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    color: #222;
    margin-top: 2em;
}

.single-post__content a {
    color: #ac9273;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    transition: color 0.2s;
}

.single-post__content a:hover {
    color: #dbd2c4;
}

.single-post__footer {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid #efebe5;
}

.single-post__back {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.single-post__back:hover {
    color: #ac9273;
}

/* =============================================
   Journal Archive
   ============================================= */

.journal-archive {
    max-width: 860px;
    margin: 48px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.journal-entry {
    border-bottom: 1px solid #efebe5;
    padding: 32px 0;
}

.journal-entry:first-child {
    padding-top: 0;
}

.journal-entry__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.journal-entry__date {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 300;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.journal-entry__title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px;
    transition: color 0.2s;
}

.journal-entry__link:hover .journal-entry__title {
    color: #ac9273;
}

.journal-entry__excerpt {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

@media (max-width: 600px) {
    .journal-archive {
        padding: 0 12px;
    }
}
