/*
 * GŁÓWNY ARKUSZ MOTYWU — styles.scc
 *
 * Tu trzymamy style szkieletu strony:
 * layout, header, footer, menu, szerokości, bazową typografię.
 *
 * Nie nadpisywać tutaj elementów obsługiwanych przez eet-site-styles.php:
 * .wp-block-post-author-name
 * .wp-block-post-author-biography
 * .eet-motto
 * .eet-faq
 */

:root {
    --eet-bg: #fffaf0;
    --eet-bg-soft: #fff4dc;
    --eet-card: #ffffff;
    --eet-heading: #14263a;
    --eet-text: #25313f;
    --eet-muted: #697586;
    --eet-orange: #d9821f;
    --eet-orange-dark: #a95f12;
    --eet-border: rgba(20, 38, 58, 0.12);
    --eet-shadow: rgba(20, 32, 46, 0.12);
    --eet-content-width: 860px;
    --eet-wide-width: 1120px;
}

/* Global */

html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.72;
    color: var(--eet-text);
    background:
        radial-gradient(circle at top left, rgba(217, 130, 31, 0.13), transparent 32rem),
        linear-gradient(180deg, #fff8ea 0%, var(--eet-bg) 36%, #fffdf7 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: var(--eet-orange-dark);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--eet-orange);
}

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

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    max-width: 100%;
    overflow-x: hidden;
    background: rgba(255, 250, 240, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--eet-border);
}

.site-header-inner {
    max-width: var(--eet-wide-width);
    width: calc(100% - 2.8rem);
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--eet-heading);
    text-decoration: none;
    min-width: 0;
}

.site-brand-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3a13a, var(--eet-orange-dark));
    color: #fffaf0;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    box-shadow: 0 7px 20px rgba(169, 95, 18, 0.28);
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.site-brand-name {
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.site-brand-claim {
    margin-top: 0.25rem;
    font-family: "Cardo", Georgia, serif;
    font-size: 0.95rem;
    color: var(--eet-orange-dark);
    white-space: nowrap;
}

.site-nav {
    flex: 0 0 auto;
}

.site-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
}

.site-menu li {
    margin: 0;
}

.site-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    color: var(--eet-heading);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.2;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
    color: var(--eet-orange-dark);
    background: rgba(217, 130, 31, 0.11);
    box-shadow: 0 4px 14px rgba(169, 95, 18, 0.11);
    outline: none;
}

.site-menu .current-menu-item > a,
.site-menu .current_page_item > a,
.site-menu .current_page_parent > a {
    color: var(--eet-orange-dark);
    background: rgba(217, 130, 31, 0.16);
}

/* Hero banner */

.hero-banner {
    max-width: var(--eet-wide-width);
    width: calc(100% - 2.8rem);
    margin: 0 auto 2.6rem;
}

.hero-banner picture {
    display: block;
    width: 100%;
}

.hero-banner-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 14px 36px rgba(20, 32, 46, 0.16);
}

/* Content */

.eet-content {
    max-width: var(--eet-content-width);
    width: calc(100% - 2.8rem);
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.page-header {
    margin-bottom: 2.2rem;
    text-align: center;
}

.page-header h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    color: var(--eet-heading);
    letter-spacing: -0.035em;
}

.entry-content {
    max-width: 100%;
}

.entry-content p:not(.eet-motto):not(.eet-final-motto),
.entry-content li {
    font-size: 1.08rem;
}

.entry-content p {
    margin: 0 0 1.25rem;
}

.entry-content ul,
.entry-content ol {
    margin: 1.1rem 0 1.6rem;
    padding-left: 1.35rem;
}

.entry-content li {
    margin-bottom: 0.55rem;
}

.entry-content h2 {
    margin: 2.4rem 0 1rem;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.16;
    color: var(--eet-heading);
    letter-spacing: -0.025em;
}

.entry-content h3 {
    margin: 2rem 0 0.8rem;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--eet-heading);
}

.entry-content strong {
    color: var(--eet-heading);
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Motto */

p.eet-motto {
    max-width: 820px;
    margin: 0 auto 2rem;
    font-family: "Cardo", Georgia, serif;
    font-size: clamp(1.75rem, 4.2vw, 3rem);
    line-height: 1.12;
    text-align: center;
    color: var(--eet-orange-dark);
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    white-space: nowrap;
}

p.eet-final-motto {
    max-width: 760px;
    margin: 2.4rem auto 0;
    font-family: "Cardo", Georgia, serif;
    font-size: clamp(1.7rem, 3.8vw, 2.85rem);
    line-height: 1.15;
    text-align: center;
    color: var(--eet-orange-dark);
    font-kerning: normal;
    text-rendering: optimizeLegibility;
}

/* Ręczna korekta kerningu w słowie "słońca" */
.eet-tight-ca {
    display: inline-block;
    position: relative;
    left: -0.1em;
}

/* Highlight boxes */

.eet-highlight {
    margin: 2rem 0;
    padding: 1.5rem 1.7rem;
    border-left: 6px solid var(--eet-orange);
    background: linear-gradient(135deg, rgba(217, 130, 31, 0.12), rgba(255, 244, 220, 0.72));
    border-radius: 18px;
}

.eet-highlight p:last-child {
    margin-bottom: 0;
}

/* Quote */

.entry-content blockquote.eet-quote {
    margin: 2.5rem auto;
    padding: 1.6rem 2rem;
    max-width: 720px;
    border: 0;
    border-top: 1px solid rgba(217, 130, 31, 0.35);
    border-bottom: 1px solid rgba(217, 130, 31, 0.35);
    font-family: "Cardo", Georgia, serif;
    font-size: clamp(1.75rem, 3.8vw, 2.85rem);
    line-height: 1.16;
    text-align: center;
    color: var(--eet-orange-dark);
    background: transparent;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
}

.entry-content blockquote.eet-quote p {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

/* Footer */

.site-footer {
    max-width: 100%;
    overflow-x: hidden;
    background: #182231;
    color: rgba(255, 250, 240, 0.86);
    border-top: 5px solid var(--eet-orange);
}

.site-footer-inner {
    max-width: var(--eet-content-width);
    width: calc(100% - 2.8rem);
    margin: 0 auto;
    padding: 1.55rem 0 1.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    text-align: center;
}

.footer-brand {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    margin: 0 0 0.25rem;
    font-weight: 900;
    color: #fffaf0;
}

.footer-claim {
    margin: 0 0 0.45rem;
    font-family: "Cardo", Georgia, serif;
    font-size: 1.25rem;
    color: #f0a64a;
}

.footer-desc {
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 250, 240, 0.72);
    text-align: center;
    white-space: normal;
}

.footer-nav {
    min-width: 0;
    text-align: center;
}

.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-menu li {
    margin-bottom: 0;
}

.footer-menu a {
    color: rgba(255, 250, 240, 0.84);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: #f0a64a;
}

.site-footer-bottom {
    max-width: var(--eet-content-width);
    width: calc(100% - 2.8rem);
    margin: 0 auto;
    padding: 0.5rem 0 0.6rem;
    border-top: 1px solid rgba(255, 250, 240, 0.12);
    text-align: center;
}

.site-footer-bottom p {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(255, 250, 240, 0.58);
}

/* Tablet */

@media (max-width: 1100px) {
    .hero-banner {
        width: calc(100% - 2rem);
        max-width: 100%;
    }
}

/* Mobile */

@media (max-width: 760px) {
    body {
        font-size: 17px;
        line-height: 1.68;
    }

    .site-header-inner {
        width: calc(100% - 1.6rem);
        min-height: auto;
        padding: 0.8rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .site-brand-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 0.86rem;
    }

    .site-brand-name {
        font-size: 1.05rem;
    }

    .site-brand-claim {
        font-size: 0.9rem;
        white-space: normal;
    }

    .site-nav {
        width: 100%;
        overflow-x: hidden;
    }

    .site-menu {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .site-menu a {
        min-height: 2rem;
        padding: 0.32rem 0.68rem;
        font-size: 0.92rem;
        background: rgba(255, 255, 255, 0.42);
        border: 1px solid rgba(20, 38, 58, 0.08);
    }

    .site-menu .current-menu-item > a,
    .site-menu .current_page_item > a,
    .site-menu .current_page_parent > a {
        background: rgba(217, 130, 31, 0.17);
    }
    .hero-banner {
        width: calc(100% - 1.8rem);
        margin: 0 auto 2rem;
    }

    .hero-banner-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        box-shadow: 0 10px 26px rgba(20, 32, 46, 0.14);
    }

    .eet-content {
        width: calc(100% - 1.4rem);
        max-width: 100%;
        padding: 0;
        border-radius: 0;
    }

    .page-header {
        margin-bottom: 1.6rem;
    }

    .entry-content p:not(.eet-motto):not(.eet-final-motto),
    .entry-content li {
        font-size: 1rem;
    }

    p.eet-motto {
        margin-bottom: 1.6rem;
        font-size: clamp(1.35rem, 7.2vw, 2.2rem);
        white-space: nowrap;
    }

    p.eet-final-motto {
        font-size: clamp(1.65rem, 8vw, 2.45rem);
    }

    .eet-highlight {
        padding: 1.2rem 1.1rem;
        border-radius: 15px;
    }

    .entry-content blockquote.eet-quote {
        padding: 1.25rem 0.8rem;
        margin: 2rem auto;
        font-size: clamp(1.65rem, 8vw, 2.45rem);
    }

    .site-footer-inner {
        width: calc(100% - 1.8rem);
        padding: 1.35rem 0 1rem;
        gap: 0.9rem;
        text-align: center;
    }

    .footer-brand,
    .footer-desc,
    .footer-nav {
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
    }

    .site-footer-bottom {
        width: calc(100% - 1.8rem);
        text-align: center;
    }
}
.eet-article-image {
    margin: 2rem auto;
}

.eet-article-image figcaption {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--eet-muted);
    text-align: center;
}
.eet-build-note {
  max-width: 760px;
  margin: 0.75rem auto 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
}
.eet-definitions {
  background: #f8fbff;
  border: 1px solid rgba(30, 90, 160, 0.16);
  border-radius: 18px;
  padding: 2rem;
}

.eet-definition-intro {
  font-size: 1.05rem;
}

.eet-definition-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.eet-definition-box {
  background: #ffffff;
  border: 1px solid rgba(30, 90, 160, 0.18);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(20, 60, 110, 0.06);
}

.eet-definition-box h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: #174f8a;
}

.eet-definition-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .eet-definition-boxes {
    grid-template-columns: 1fr;
  }

  .eet-definitions {
    padding: 1.35rem;
  }
}

/* FAQ EET */
.eet-faq {
    margin: 2rem 0 2.5rem;
}

.eet-faq__item {
    margin: 0 0 0.8rem;
    padding: 0.95rem 1.05rem;
    background: rgba(0, 0, 0, 0.025);
    border-left: 3px solid rgba(190, 125, 45, 0.38);
    border-radius: 12px;
}

.eet-faq__item[open] {
    background: rgba(190, 125, 45, 0.06);
}

.eet-faq__item summary {
    cursor: pointer;
    font-weight: 700;
    line-height: 1.35;
    color: #333;
}

.eet-faq__item summary::marker {
    color: rgba(190, 125, 45, 0.9);
}

.eet-faq__answer {
    margin-top: 0.75rem;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #555;
}

.eet-faq__answer p {
    margin: 0 0 0.75rem;
}

.eet-faq__answer p:last-child {
    margin-bottom: 0;
}

.eet-faq__answer a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .eet-faq__item {
        padding: 0.85rem 0.9rem;
    }

    .eet-faq__item summary {
        font-size: 0.98rem;
    }

    .eet-faq__answer {
        font-size: 0.92rem;
        line-height: 1.58;
    }
}