/*
Theme Name: Talouspeli
Author: Parvus Vulpes Oy
Author URI: https://parvus.fi
Requires at least: 7.0
Tested up to: 7.1
Version: 0.2
Text Domain: talouspeli
*/

.header {
    box-sizing: border-box;
    width: 100%;
    /* max-height: 88px; */
    display: flex;
    top: 0;
    padding: 1rem;
    background-color: white;
    justify-content: space-between;
    align-items: center;
    max-width: 992px;
    margin: 0 auto;
}

.header > a {
    color: black;
}

.header .header-title {
    display: flex;
    align-items: flex-end;
}

.header .header-title img {
    max-height: 30px;
    padding-right: 10px;
    padding-bottom: 6px;
}

.header .header-title span {
    font-size: 30px;
    font-weight: 800;
    color: #ED6C41;
}

.header .game-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
	cursor: pointer;
}

.header .game-info-container button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.header .game-info-container span {
    text-align: center;
    width: 20px;
    height: 20px;
    border: 2px solid black;
    border-radius: 50%;
}


.entry-content-wrapper {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 2rem clamp(1.25rem, 3vw, 3rem);
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-content {
    color: #1f2937;
    font-size: 1.05rem;
    line-height: 1.75;
}

.entry-content > * + * {
    margin-top: 1.25rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #111827;
    line-height: 1.3;
    margin: 0 0 1rem;
}

.entry-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

.entry-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.entry-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}

.entry-content p,
.entry-content li {
    color: #374151;
    line-height: 1.75;
    margin: 0;
}

.entry-content a {
    color: #ED6C41;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
}

.entry-content blockquote {
    border-left: 4px solid #ED6C41;
    margin: 1.5rem 0;
    padding: 0.5rem 0 0.5rem 1rem;
    color: #4b5563;
    font-style: italic;
}

.entry-content figure,
.entry-content .wp-block-image {
    margin: 2rem 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 768px) {

    .header{
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 0.5rem;
    }

    .header-title{
        flex: 100%;
        order: 3; /* Last */
        justify-content: center;
    }

    .header .header-title img {
        max-height: 20px;
    }

    .header .header-title span {
        font-size: 20px;
    }

    .page-content {
        padding: 1rem 0.75rem 3rem;
    }

    .entry-content-wrapper {
        padding: 1.5rem 1rem;
    }
}