/*
Theme Name: Terry English
Theme URI: https://example.com/terry-english
Author: Terry
Author URI: https://example.com
Description: A modern English WordPress theme with clean design and full-featured framework.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terry-english
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover-color);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-content {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
}

.content-area {
    flex: 1;
    min-width: 0;
    padding-right: 30px;
}

.widget-area {
    width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .site-content {
        flex-direction: column;
    }
    
    .content-area {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .widget-area {
        width: 100%;
    }
}

article {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.entry-header {
    padding: 20px 20px 0;
}

.entry-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.entry-title a {
    color: #333;
}

.entry-title a:hover {
    color: var(--link-hover-color);
}

.entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-content {
    padding: 20px;
    line-height: 1.8;
}

.entry-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-color);
    color: var(--button-text-color);
    border-radius: 4px;
    margin-top: 10px;
}

.read-more:hover {
    background: var(--button-hover-color);
    color: var(--button-text-color);
}

.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination a,
.pagination .current {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pagination .current {
    background: var(--button-color);
    color: var(--button-text-color);
}

.pagination a:hover {
    background: var(--button-color);
    color: var(--button-text-color);
}

.comments-area {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.comment-content {
    line-height: 1.6;
}

.reply {
    margin-top: 10px;
}

.comment-respond {
    margin-top: 30px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--main-color);
}

.comment-form .submit {
    background: var(--button-color);
    color: var(--button-text-color);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form .submit:hover {
    background: var(--button-hover-color);
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-color);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-form input[type="submit"] {
    padding: 10px 20px;
    background: var(--button-color);
    color: var(--button-text-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-form input[type="submit"]:hover {
    background: var(--button-hover-color);
}

.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;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Top Bar Styles */
.top-bar {
   background: #f9f5ed;
    border-bottom: 1px solid #f9f5ed;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-text {
   color: #936a25;
}

.top-bar-button {
    color: var(--link-color);
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
    font-size: 18px;
    text-decoration: revert-layer;
}

.top-bar-button:hover {
    background: var(--button-hover-color);
    color: var(--button-text-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: #e9ecef;
}

.language-toggle i {
    color: var(--main-color);
    font-size: 16px;
}

.language-toggle span {
    font-size: 14px;
    color: #333;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.language-dropdown.active {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.language-option:hover {
    background: #f8f9fa;
    color: var(--link-hover-color);
}

.language-flag {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.language-name {
    font-size: 14px;
}

/* 移动端顶部菜单样式 */
.mobile-header {
    background: var(--header-background);
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    flex: 1;
}

.mobile-logo .site-logo img {
    max-height: 40px;
}

.mobile-logo .site-title {
    font-size: 18px;
    margin: 0;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-search-btn,
.mobile-language-toggle {
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-search-btn:hover,
.mobile-language-toggle:hover {
    background: #f8f9fa;
}

.mobile-search-btn i,
.mobile-language-toggle i {
    font-size: 18px;
    color: #333;
}

.mobile-language-dropdown {
    position: absolute;
    top: 100%;
    right: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.mobile-language-dropdown.active {
    display: block;
}

.category-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.category-menu-toggle:hover {
    background: #f8f9fa;
}

.category-menu-toggle i {
    font-size: 18px;
    color: #333;
}

/* 移动端左侧滑出菜单 */
.mobile-category-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-category-menu.active {
    left: 0;
}

.mobile-category-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.mobile-category-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.close-menu:hover {
    background: #f8f9fa;
}

.close-menu i {
    font-size: 18px;
    color: #333;
}

.mobile-category-menu-content {
    padding: 20px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 10px;
}

.mobile-nav-menu li a {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-menu li a:hover {
    color: var(--link-hover-color);
}

.mobile-nav-menu .sub-menu {
    padding-left: 20px;
    margin-top: 5px;
}

/* 遮罩层 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
}

/* 移动端搜索表单 */
.search-form-container.active {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    z-index: 998;
}
.top-bar-buttons {
   color: var(--link-color);
    font-size: 18px;
    text-decoration: revert-layer;
    font-weight: 500;
}
/* Responsive styles */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .top-bar {
    display: none;
}
    .top-bar-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .language-selector {
        margin-top: 10px;
    }
    
    .language-dropdown {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    /* 显示移动端菜单 */
    .mobile-header {
        display: block;
    }
    
    /* 隐藏桌面端菜单 */
    .middle-bar,
    .site-header {
        display: none;
    }
    
    /* 调整搜索表单 */
    .search-form-container {
        display: none;
    }
}

@media (min-width: 769px) {
    /* 隐藏移动端菜单 */
    .mobile-header,
    .mobile-category-menu,
    .mobile-menu-overlay {
        display: none;
    }
    
}

/* Sticky Header Container */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: #fff;
}

/* Middle Bar Styles */
.middle-bar {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.middle-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.middle-bar-left {
    flex: 1;
    min-width: 300px;
}

.search-form-container .search-form {
    display: flex;
    gap: 0;
}

.search-form-container .search-form {
   border: 1px solid #e9ecef;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
}

.search-form-container .search-form input[type="search"] {
  flex: 1;
    padding: 12px 15px;
    border: 1px solid #ffffff;
       border-radius: 5px;
    font-size: 14px;
        background: #f8f9fa;
}

.search-form-container .search-form input[type="search"]::placeholder {
    color: #999;
}

.search-form-container .search-form .search-submit {
   padding: 12px 15px;
        background: #f8f9fa;
    color: #666;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}
.search-form-container .search-field:focus {
    outline: none;
}

.search-form-container .search-form .search-submit:hover {
    background: var(--button-hover-color);
    border-color: var(--button-hover-color);
    color: #fff;
}

.search-form-container .search-form .search-submit i {
    font-size: 16px;
}

.search-form-container .search-form .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;
}

.middle-bar-center {
    flex: 1;
    text-align: center;
    height: 50px;
}

.site-logo img {
    max-height: 100%;
    width: auto;
    height: 100%;
}

.middle-bar-center .site-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.middle-bar-center .site-description {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0;
}

.middle-bar-right {
    flex: 1;
    text-align: right;
}

.function-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.function-button {
    padding: 10px 20px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.function-button:hover {
    background: var(--button-color);
    color: var(--button-text-color);
    border-color: var(--button-color);
}

/* Header Styles */
.site-header {
    background: #fff;
    padding: 0;
}

.site-header .container {
    display: flex;
    justify-content: center;
}

.main-navigation {
    align-items: center;
    width: 100%;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    color: #333;
    font-weight: 500;
    padding: 15px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation ul li a:hover {
    color: var(--menu-hover-color);
}

.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1001;
}

.main-navigation ul li:hover > ul {
    display: block;
}

.main-navigation ul ul li {
    margin: 0;
    padding: 0 15px;
    text-align: left;
}

.main-navigation ul ul li a {
    padding: 10px 15px;
    color: #333;
    border-radius: 4px;
}

.main-navigation ul ul li a:hover {
    background: #f5f5f5;
    color: var(--menu-hover-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #333;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.dropdown-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .middle-bar-content {
        flex-wrap: wrap;
        text-align: center;
    }
    
    .middle-bar-left,
    .middle-bar-center,
    .middle-bar-right {
        flex: 100%;
        text-align: center;
    }
    
    .middle-bar-left {
        order: 2;
        margin: 15px 0;
    }
    
    .middle-bar-center {
        order: 1;
    }
    
    .middle-bar-right {
        order: 3;
    }
    
    .function-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
    }
    
    .main-navigation {
        width: 100%;
        display: none;
        margin-top: 15px;
    }
    
    .main-navigation.toggled {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-navigation ul li {
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation ul li a {
        padding: 15px 0;
    }
    
    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
        transform: none;
    }
    
    .dropdown-toggle {
        display: block;
        background: none;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        float: right;
    }
}

/* Footer Styles */
.site-footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.site-footer a {
    color: #fff;
    opacity: 0.8;
}

.site-footer a:hover {
    opacity: 1;
    color: #fff;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-widget-area {
    flex: 1;
    min-width: 250px;
    padding-right: 30px;
}

.footer-widget-area:last-child {
    padding-right: 0;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-color);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-info {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

.site-info p {
    margin: 5px 0;
}

.footer-navigation {
    text-align: center;
    margin-top: 20px;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-navigation ul li {
    margin: 0 15px;
}

.footer-navigation ul li a {
    color: #fff;
    opacity: 0.8;
}

.footer-navigation ul li a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-widget-area {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
}

/* Footer Styles */
#site-footer {
    position: relative;
    padding: 60px 0 30px;
    transition: all 0.3s ease;
}

/* Padding classes */
.pt-100 {
    padding-top: 100px;
}

.pb-80 {
    padding-bottom: 80px;
}

.footer-dark {
    background-color: #1a1a2e;
    color: #ffffff;
}

.footer-light {
    background-color: #f8f9fa;
    color: #333333;
}

.footer-widget {
    position: relative;
    z-index: 1;
}

.footer-widget-wrap {
    position: relative;
}

.footer-widget-box {
    margin-bottom: 30px;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--main-color);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list li a {
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-list li a:hover {
    opacity: 1;
    color: var(--link-hover-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact .icon {
    margin-right: 15px;
    font-size: 18px;
    color: var(--main-color);
    min-width: 24px;
}

.footer-contact .content h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-contact .content p,
.footer-contact .content a {
    margin: 0;
    color: inherit;
    opacity: 0.8;
}

.footer-contact .content a:hover {
    opacity: 1;
    color: var(--link-hover-color);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.footer-social li {
    margin: 0;
}

.footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    transition: all 0.3s ease;
}

.footer-light .footer-social li a {
    background: rgba(0, 0, 0, 0.1);
}

.footer-social li a:hover {
    background: var(--button-color);
    color: var(--button-text-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
}

.footer-light .copyright {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.copyright-text {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav ul li a {
    color: inherit;
    opacity: 0.8;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-nav ul li a:hover {
    opacity: 1;
    color: var(--link-hover-color);
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-nav ul {
        justify-content: center;
    }
    
    .footer-contact li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-contact .icon {
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    #site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-widget-title {
        font-size: 16px;
    }
    
    .footer-social li a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}
