/* Single source for landing and presentation header/footer styling. */
@font-face{font-family:ChromeGolos;src:url('css/fonts/golos-text_regular.ttf');font-weight:400;font-display:swap;}
@font-face{font-family:ChromeGolos;src:url('css/fonts/golos-text_bold.ttf');font-weight:700;font-display:swap;}
@font-face{font-family:ChromeLogo;src:url('css/fonts/logo.ttf');font-display:swap;}
#shared-header,#footer{--black:#000;--white:#fff;--text-color-dark:#111;--secondary-color-1:#ffa500;--secondary-color-4:#8b357c;font-family:ChromeGolos,sans-serif;box-sizing:border-box;}
#shared-header *,#footer *{box-sizing:border-box;}
#shared-header {
    background-color: var(--black);
    color: var(--white);
    padding: 10px;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
}

#shared-header .header-container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#shared-header nav {
    background-color: var(--black);
    overflow: hidden;
}

#shared-header nav a {
    font-size: 18px;
    float: left;
    display: block;
    color: var(--white);
    text-align: right;
    padding: 14px 16px;
    text-decoration: none;
}

#shared-header nav a:hover {
    color: var(--secondary-color-1);
}

#shared-header .dropdown {
    float: left;
    overflow: hidden;
}

#shared-header .dropdown .dropbtn {
    font-size: 18px;
    border: none;
    outline: none;
    color: var(--white);
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

#shared-header nav a:hover, #shared-header .dropdown:hover .dropbtn {
    color: var(--secondary-color-1);
}

#shared-header .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 260px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 8px;
    top: 50px;
    padding: 10px 0;
}

#shared-header .dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
}

#shared-header .dropdown-content .dropdown-item {
    display: flex;
    align-items: center;
    float: none;
    color: var(--text-color-dark);
    padding: 12px 16px;
    text-decoration: none;
    text-align: left;
    transition: background-color 0.2s;
}

#shared-header .dropdown-content .dropdown-item:hover {
    background-color: #f1f1f1;
    color: var(--secondary-color-4);
}

#shared-header .dropdown-text {
    display: flex;
    flex-direction: column;
}

#shared-header .dropdown-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    font-family: golosbold;
}

#shared-header .dropdown-desc {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    line-height: 1.2;
}

/* Скрываем дропдаун на мобильных (пока меню закрыто) */
@media screen and (max-width: 600px) {
    #shared-header nav a, #shared-header .dropdown {
        display: none;
    }
}


#shared-header #logo {font-family:ChromeLogo;font-size:28px;font-weight:100;cursor:pointer;text-decoration:none;color:#fff;white-space:nowrap;}
#shared-header .logo-hash{font-size:24px;padding-right:2px;}
#shared-header .dropdown-title{font-family:ChromeGolos;font-weight:700;}
@media(max-width:600px){#shared-header #logo{display:block;margin:auto;}#shared-header nav{display:none;}}

#footer {
    background-color: var(--black);
    color: var(--text-color-light);
    text-align: center;
    width: 100%;
    height: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

#footer .footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

#footer .footer-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Blog Link Styles */
#footer .link-blog {
    color: var(--telegram-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

#footer .link-blog:hover {
    opacity: 0.8;
}

#footer .link-blog svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

#footer .footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 20px 0;
    margin-top: 0;
}

#footer .footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    text-align: left;
}

#footer .footer-col {
    display: flex;
    flex-direction: column;
}

#footer .footer-container_text {
    font-size: 13px !important;
    color: #515151;
    margin: 0.25rem 0;
}

@media screen and (max-width: 768px) {
    #footer .footer-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #footer .footer-item {
        align-items: center;
    }

    #footer .footer-item .text-left {
        text-align: center;
    }

    #footer .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        gap: 20px;
    }
}


#footer { --black:#000; --text-color-light:#f1f1f1; --telegram-color:#2AABEE; }
#footer .general-footer {max-width:1000px;width:100%;margin:0 auto;display:flex;flex-direction:column;padding:50px;text-align:left;gap:16px;}
#footer .text-s {font-size:18px;} #footer .text-m {font-size:28px;}
#footer .bold {font-weight:700;font-family:ChromeGolos,sans-serif;}
#footer .lspace {letter-spacing:1px;} #footer .light {color:var(--text-color-light);}
#footer .mg0 {margin-top:0;} #footer .mg20 {margin-top:20px;} #footer .text-left {text-align:left;}
#footer .link-email {color:rgb(255,145,0);text-decoration:none;}
@media(max-width:768px){#footer .general-footer{padding:18px;} #footer .footer-item .text-left{text-align:center;}}
