/* Global reset, typography, navigation and footer for the aboutinsider theme */
@import 'root.css';

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

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--sol-text);
    background: var(--sol-bg);
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

h1, h2, h3 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
.sol-logo-link img{
    height:40px;
}
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    margin: 0 0 16px;
}

/* ===================== Page wrapper ===================== */
.sol-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================== Navigation ===================== */
.sol-header {
    background: var(--sol-bg);
    border-bottom: 1px solid var(--sol-border);
}

.sol-logo-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 0;
}

.sol-logo-link {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
}

.sol-logo-link:hover {
    opacity: 1;
    text-decoration: none;
}

.sol-logo-about {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #1a3a5c;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.sol-logo-insider {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 3px;
    /*text-transform: uppercase;*/
}

.sol-nav {
    background: var(--sol-nav-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.sol-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}

.sol-nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

/*.sol-nav-link:first-child{*/
/*    padding-left: unset;*/
/*}*/

.sol-nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--sol-nav-text);
    text-decoration: none;
    padding: 0 14px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.sol-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    opacity: 1;
    text-decoration: none;
}

.sol-nav-link.is-active {
    background: var(--sol-primary);
    color: #ffffff;
}

.sol-nav-search {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sol-nav-text);
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.sol-nav-search:hover {
    color: var(--sol-nav-text);
    opacity: 0.75;
    text-decoration: none;
}

/* Hamburger toggle */
.sol-nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.sol-nav-toggle span,
.sol-nav-toggle span::before,
.sol-nav-toggle span::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--sol-nav-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sol-nav-toggle span {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sol-nav-toggle span::before {
    top: -7px;
    left: 0;
}

.sol-nav-toggle span::after {
    bottom: -7px;
    left: 0;
}

.sol-nav-toggle.active span {
    background: transparent;
}

.sol-nav-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.sol-nav-toggle.active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ===================== Back to Top ===================== */
.sol-back-top {
    position: fixed;
    bottom: 48px;
    right: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sol-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    font-size: 16px;
    line-height: 1;
}

.sol-back-top:hover {
    background: var(--sol-primary-dark);
    opacity: 1;
    text-decoration: none;
}

.sol-back-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== Footer ===================== */
.sol-footer {
    background: var(--sol-footer-bg);
    color: var(--sol-footer-text);
    margin-top: 10px;
}

.sol-footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 0;
    gap: 24px;
    flex-wrap: wrap;
}

.sol-footer-brand {
    flex: 1;
    min-width: 260px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

.sol-footer-brand-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    /*text-transform: uppercase;*/
    line-height: 1.2;
    margin-bottom: 12px;
}

.sol-footer-brand-desc {
    font-size: 14px;
    color: #aaaaaa;
    line-height: 1.7;
    /*max-width: 420px;*/
}

.sol-footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.sol-footer-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #444;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
}

.sol-footer-social a:hover {
    background: var(--sol-primary);
    border-color: var(--sol-primary);
    color: #ffffff;
    opacity: 1;
    text-decoration: none;
}

.sol-footer-bottom {
    border-top: 1px solid #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.sol-footer-copy {
    font-size: 12px;
    color: #666;
}

.sol-footer-links {
    display: flex;
    gap: 20px;
}

.sol-footer-links a {
    font-size: 12px;
    color: #888;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sol-footer-links a:hover {
    color: var(--sol-footer-text);
    text-decoration: none;
    opacity: 1;
}

/* ===================== Breadcrumb ===================== */
.sol-breadcrumb {
    padding: 10px 0 14px;
}

.sol-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sol-breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--sol-text-muted);
}

.sol-breadcrumb li a {
    color: var(--sol-text-muted);
    text-decoration: none;
}

.sol-breadcrumb li a:hover {
    color: var(--sol-primary);
    text-decoration: underline;
    opacity: 1;
}

.sol-breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 6px;
    color: #bbb;
}

.sol-breadcrumb li:last-child {
    color: var(--sol-text);
}

/* ===================== Inner-page layout (main + sidebar) ===================== */
.sol-inner-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    margin-top: 24px;
    margin-bottom: 20px;
}

/* ===================== Sidebar ===================== */
.sol-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sol-widget {
    background: var(--sol-bg-light);
    border-radius: 4px;
    padding: 16px;
}

.sol-widget-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--sol-text);
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sol-primary);
    margin-bottom: 14px;
}

.sol-sidebar-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--sol-border);
}

.sol-sidebar-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.sol-sidebar-item__img {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    overflow: hidden;
    border-radius: 3px;
}

.sol-sidebar-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sol-sidebar-item__body {
    flex: 1;
    min-width: 0;
}

.sol-sidebar-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sol-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.sol-sidebar-item__title:hover {
    color: var(--sol-primary);
    text-decoration: none;
    opacity: 1;
}

.sol-sidebar-item__date {
    font-size: 12px;
    color: var(--sol-text-muted);
    margin-top: 4px;
}

/* ===================== Pagination ===================== */
.sol-pagination {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 28px;
    gap: 4px;
    font-size: 14px;
    flex-wrap: wrap;
}

.sol-pagination a,
.sol-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--sol-border);
    border-radius: 3px;
    color: var(--sol-text);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 14px;
}

.sol-pagination a:hover {
    background: var(--sol-primary);
    border-color: var(--sol-primary);
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
}

.sol-pagination span.sol-page-active {
    background: var(--sol-primary);
    border-color: var(--sol-primary);
    color: #ffffff;
    font-weight: 700;
}

.sol-pagination span.sol-page-disabled {
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
}

.sol-pagination span.sol-page-ellipsis {
    border: none;
    min-width: auto;
    padding: 0 4px;
    color: var(--sol-text-muted);
}

.sol-pagination-info {
    margin-left: auto;
    font-size: 13px;
    color: var(--sol-text-muted);
}

/* ===================== Category label badge ===================== */
.sol-cat-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: var(--sol-primary);
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    /*text-transform: uppercase;*/
    text-decoration: none;
}

.sol-cat-badge:hover {
    background: var(--sol-primary-dark);
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
}

/* ===================== Responsive ===================== */
@media(max-width:1200px){
    .sol-logo-bar{
        padding:14px 16px;
    }
    .sol-inner-layout,
    .sol-cats-grid,
    .sol-hero,
    .sol-nav-menu{
        padding: 0 16px;
    }
    .sol-footer-main{
        padding: 36px 16px;
    }
    .sol-footer-bottom{
        padding: 16px 16px 20px;
    }
    .sol-breadcrumb{
        padding:10px 16px 14px;
    }
}
@media (max-width: 1024px) {
    /*.sol-nav-link:first-child {*/
    /*    padding-left: 20px;*/
    /*}*/
    .sol-nav-toggle {
        display: flex;
    }

    .sol-nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 44px;
        left: 0;
        width: 100%;
        background: var(--sol-nav-bg);
        z-index: 200;
        padding: 0;
    }

    .sol-nav-menu.active {
        display: flex;
    }

    .sol-nav-link {
        width: 100%;
        padding: 12px 20px;
        height: auto;
        border-bottom: 1px solid #333;
    }

    .sol-logo-bar {
        padding: 14px 16px;
    }

    .sol-nav-inner {
        padding: 0 16px;
    }
    .sol-inner-layout,
    .sol-cats-grid,
    .sol-hero{
        padding:0;
    } 
    .sol-breadcrumb{
        padding: 10px 0 14px;
    }
    .sol-inner-layout {
        grid-template-columns: 1fr;
    }

    .sol-page-wrapper {
        padding: 0 16px;
    }

    .sol-footer-main {
        padding: 28px 16px;
    }

    .sol-footer-bottom {
        padding: 16px 16px 20px;
    }
}

@media (max-width: 768px) {
    .sol-logo-about,
    .sol-logo-insider {
        font-size: 22px;
    }

    .sol-footer-main {
        /* flex-direction: column; */
        padding: 24px 16px;
    }

    .sol-footer-brand-title {
        font-size: 18px;
    }
    .sol-footer-brand {
        grid-template-columns: 1fr;
    }
}
