/* Theme shell bazë; Project JSON styles ngarkohen veçmas nga builder.css. */
:root {
    --aw-container-width: 1200px;
    --aw-text-color: #1f2937;
    --aw-background-color: #ffffff;
    --aw-surface-color: #f8fafc;
    --aw-border-color: #e5e7eb;
}

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

html {
    overflow-x: hidden;
}

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

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

a {
    color: inherit;
}

.aw-theme-container {
    width: min(calc(100% - 2rem), var(--aw-container-width));
    margin-inline: auto;
}

.site-header,
.site-footer {
    background: var(--aw-surface-color);
}

.site-header {
    border-bottom: 1px solid var(--aw-border-color);
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-block: 1rem;
}

.site-title,
.site-description,
.site-footer p {
    margin: 0;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.site-title a {
    text-decoration: none;
}

.site-branding .custom-logo-link,
.navbar-brand .custom-logo-link {
    display: block;
}

.site-branding .custom-logo,
.navbar-brand .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: var(--navbar-logo-max-width, 200px);
    max-height: var(--navbar-logo-height, 80px);
    object-fit: contain;
}

.navbar-menu .page_item {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-menu .page_item > a {
    display: inline-flex;
    padding: 8px 2px;
}

.site-description {
    color: #64748b;
}

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

.content-area {
    padding-block: clamp(2rem, 5vw, 5rem);
}

.entry + .entry {
    margin-top: 3rem;
}

.entry-title {
    overflow-wrap: anywhere;
}

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

.alignwide {
    width: min(100%, calc(var(--aw-container-width) + 8rem));
    max-width: calc(100vw - 2rem);
    margin-inline: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.site-footer {
    border-top: 1px solid var(--aw-border-color);
    padding-block: 1.5rem;
}

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

.screen-reader-text:focus {
    z-index: 100000;
    top: 0.75rem;
    left: 0.75rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    overflow: visible;
    clip: auto;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 0 0 2px #111827;
}

@media (max-width: 640px) {
    .site-header__inner {
        display: block;
    }

    .site-description {
        margin-top: 0.25rem;
    }
}