/*
Theme Name: SWAN Minimal Theme
Theme URI: https://moztechdevelopers.com/
Author: MozTechDevelopers
Author URI: https://moztechdevelopers.com/
Description: Minimal full-width SWAN theme with only a top bar, logo, menu, back button, and footer.
Version: 1.0.0
Text Domain: swan-minimal-theme
*/

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background: #07111f;
    color: #edf3fb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

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

#page,
.site,
.site-content,
.content-area,
.site-main,
.entry-content,
.post,
article,
.page,
.widget-area,
aside,
#secondary {
    max-width: 100% !important;
    width: 100% !important;
}

a { color: inherit; }

.smt-topbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(7, 17, 31, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.smt-topbar-inner {
    max-width: 1600px;
    margin: 0 auto;
    min-height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.smt-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.smt-back-btn {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 999px;
    height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: .18s ease;
}

.smt-back-btn:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.2);
}

.smt-back-arrow {
    font-size: 17px;
    line-height: 1;
}

.smt-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    min-width: 0;
}

.smt-logo {
    height: 34px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

.smt-brand-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.smt-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.smt-top-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.smt-top-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.smt-top-menu a {
    text-decoration: none;
    color: #dfeaf8;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    transition: .16s ease;
}

.smt-top-menu a:hover,
.smt-top-menu .current-menu-item > a,
.smt-top-menu .current_page_item > a {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
    color: #fff;
}

.smt-main-wrap {
    width: 100%;
    min-height: calc(100vh - 124px);
    padding: 22px 14px 28px;
}

.smt-content-shell {
    max-width: 1600px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(10,18,30,.92), rgba(11,20,34,.84));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.smt-entry-header {
    margin-bottom: 12px;
}

.smt-entry-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.08;
    color: #fff;
}

.smt-entry-content {
    font-size: 15px;
    line-height: 1.7;
    color: #d7e1ef;
    overflow-wrap: anywhere;
}

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

.smt-entry-content img,
.smt-entry-content video,
.smt-entry-content iframe,
.smt-entry-content canvas,
.smt-entry-content table {
    max-width: 100%;
}

.smt-loop {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.smt-archive-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.smt-archive-title {
    margin: 0 0 10px;
    font-size: 20px;
}

.smt-archive-title a {
    color: #fff;
    text-decoration: none;
}

.smt-archive-excerpt {
    color: #ced9e8;
    font-size: 14px;
    line-height: 1.6;
}

.smt-footer {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(4, 10, 19, 0.94);
}

.smt-footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    min-height: 60px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #c8d4e3;
    font-size: 13px;
    flex-wrap: wrap;
}

.comments-area,
.sidebar,
.widget,
aside,
#secondary {
    display: none !important;
}

@media (max-width: 900px) {
    .smt-topbar-inner {
        min-height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .smt-left,
    .smt-nav {
        width: 100%;
    }

    .smt-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .smt-top-menu {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .smt-entry-title {
        font-size: 26px;
    }

    .smt-content-shell {
        padding: 16px;
        border-radius: 18px;
    }
}
