:root {
    --elc-theme-text: #172033;
    --elc-theme-muted: #667085;
    --elc-theme-border: #e5e7eb;
    --elc-theme-bg: #ffffff;
    --elc-theme-soft: #f6f8fb;
    --elc-theme-accent: #2370b8;
    --elc-theme-accent-2: #19a974;
    --elc-theme-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--elc-theme-text);
    background: var(--elc-theme-bg);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

a {
    color: var(--elc-theme-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    z-index: 100000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    color: #ffffff;
    background: var(--elc-theme-accent);
    border-radius: 6px;
}

.site-header,
.site-footer {
    border-color: var(--elc-theme-border);
}

.site-header {
    border-bottom: 1px solid var(--elc-theme-border);
    background: rgba(255, 255, 255, 0.94);
}

.site-header__inner,
.site-footer__inner,
.content-container {
    width: min(100% - 32px, var(--elc-theme-max));
    margin-inline: auto;
}

.site-header__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
}

.site-title a {
    color: var(--elc-theme-text);
    text-decoration: none;
}

.primary-navigation ul,
.footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation a,
.footer-navigation a {
    color: var(--elc-theme-text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.site-main {
    min-height: 56vh;
}

.content-container {
    padding-block: 48px;
}

.content-card,
.page-content > .entry-content:not(.elementor),
.archive-header {
    margin-bottom: 24px;
}

.content-card {
    padding: 28px;
    border: 1px solid var(--elc-theme-border);
    border-radius: 8px;
    background: #ffffff;
}

.entry-title,
.archive-title {
    margin: 0 0 16px;
    color: var(--elc-theme-text);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
    letter-spacing: 0;
}

.entry-title a {
    color: inherit;
    text-decoration: none;
}

.entry-meta,
.entry-summary,
.archive-description {
    color: var(--elc-theme-muted);
}

.entry-content > :first-child {
    margin-top: 0;
}

.entry-content > :last-child {
    margin-bottom: 0;
}

.entry-thumbnail {
    margin-bottom: 24px;
}

.site-footer {
    border-top: 1px solid var(--elc-theme-border);
    background: var(--elc-theme-soft);
}

.site-footer__inner {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--elc-theme-muted);
}

.site-main--fullwidth,
.site-main--portal {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.elc-fullwidth-template,
.elc-fullwidth-template body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.elc-fullwidth-template .elementor-section,
.elc-fullwidth-template .e-container,
.elc-fullwidth-template .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}

.elementor-page .entry-content,
.site-main--fullwidth {
    padding: 0;
}

.elc-portal-template {
    background: #ffffff;
}

.elc-portal-template .site-main--portal {
    min-height: 100vh;
}

@media (max-width: 720px) {
    .site-header__inner,
    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 16px;
    }

    .primary-navigation ul,
    .footer-navigation ul {
        gap: 12px;
    }

    .content-container {
        width: min(100% - 24px, var(--elc-theme-max));
        padding-block: 32px;
    }

    .content-card {
        padding: 20px;
    }
}

