/* Andy's Daily Tips - Chinese Site Custom CSS */
/* Main Color: #001B54 (Navy Blue) */
/* Accent Color: #44C1C4 (Mint) */

/* Share Buttons */
.share-buttons {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #44C1C4;
}

.share-buttons__title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #001B54;
}

.share-buttons__content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
}

.share-button__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.share-button--twitter:hover {
    background-color: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.share-button--facebook:hover {
    background-color: #4267b2;
    color: white;
    border-color: #4267b2;
}

.share-button--linkedin:hover {
    background-color: #0077b5;
    color: white;
    border-color: #0077b5;
}


.share-button--copy:hover {
    background-color: #44C1C4;
    color: white;
    border-color: #44C1C4;
}

/* Branding Colors */
.logo__title {
    color: #001B54 !important;
}

.menu__list,
.menu {
    background-color: #001B54 !important;
}

.menu__item,
.menu__item a {
    background-color: #001B54 !important;
    color: #ffffff !important;
}

.menu__item:hover,
.menu__item a:hover {
    background-color: #44C1C4 !important;
    color: #ffffff !important;
}

.menu__item--active,
.menu__item--active a {
    background-color: #44C1C4 !important;
    color: #ffffff !important;
}

.footer {
    background-color: #001B54 !important;
    color: #ffffff;
}

.footer a {
    color: #ffffff;
}

/* Language Switcher - Tab Style */
.language-switcher {
    display: inline-flex;
    align-items: stretch;
    margin: 0 1rem;
    font-size: 0.7rem;
    flex-wrap: wrap;
}

.lang-link {
    color: #6c757d;
    text-decoration: none;
    padding: 0.6rem 0.6rem;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    background-color: #f8f9fa;
    position: relative;
    line-height: 1.2;
}

.lang-link:hover {
    color: #001B54 !important;
    text-decoration: none;
    background-color: #e9ecef;
    border-bottom-color: #44C1C4;
    transform: translateY(-2px);
}

.lang-current {
    color: #001B54 !important;
    font-weight: 700;
    background-color: #ffffff;
    border-bottom: 3px solid #44C1C4;
    box-shadow: 0 2px 4px rgba(0,27,84,0.1);
}

/* Mobile Menu Hamburger Icon */
.menu__btn-title {
    font-size: 1.5rem !important;
    font-weight: normal !important;
    line-height: 1;
    padding: 0.3rem 0.9375rem !important;
}

/* Read More Button */
.list__footer-readmore.btn {
    background-color: #001B54 !important;
    color: #ffffff !important;
}

.list__footer-readmore.btn:hover {
    background-color: #44C1C4 !important;
    color: #ffffff !important;
}

/* Responsive Design */
@media (min-width: 1081px) {
    .lang-link {
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 768px) {
    /* Share Buttons */
    .share-buttons__content {
        flex-direction: column;
    }

    .share-button {
        justify-content: center;
    }

    /* Language Switcher */
    .language-switcher {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
        margin: 0 0.5rem;
        width: auto;
        max-width: 100%;
    }

    .lang-link {
        padding: 0.5rem 0.5rem;
        font-size: 0.7rem;
        margin: 0.1rem;
    }

    /* Header Layout */
    .header__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        margin-bottom: 0.5rem;
    }

    .menu__btn-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
        margin: 0;
        width: 100%;
        gap: 0.05rem;
    }

    .lang-link {
        padding: 0.45rem 0.25rem;
        font-size: 0.6rem;
        margin: 0.05rem;
        min-width: fit-content;
        white-space: nowrap;
    }
}