:root {
    --primary-red: #b91c2e;
    --dark-red: #8b1524;
    --light-red: #c8102e;
    --accent-red: #d41830;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border-color: #e5e5e5;
    --font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    --container-width: 1200px;
    --header-height: 60px;
    --top-bar-height: 36px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input,
select {
    font-family: inherit;
    outline: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}


body>.container {
    flex: 1;
}


.top-bar {
    background-color: var(--primary-red);
    height: var(--top-bar-height);
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--top-bar-height);
    position: relative;
}

.welcome-text {
    color: #fff;
    font-size: 13px;
    opacity: 0.9;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.top-links a {
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.top-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.top-links span {
    color: rgba(255, 255, 255, 0.5);
}


.main-header {
    background-color: #fff;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.logo-img-mobile {
    height: 36px;
    width: auto;
    display: block;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-item>a {
    display: flex;
    align-items: center;
    height: var(--header-height);
    padding: 0 18px;
    color: var(--text-dark);
    font-size: 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-item:hover>a,
.nav-item.active>a {
    color: var(--light-red);
    background-color: rgba(185, 28, 46, 0.06);
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: rgba(185, 28, 46, 0.06);
    color: var(--light-red);
}


.header-search {
    display: flex;
    align-items: center;
    height: 32px;
}

.header-search form {
    display: flex;
    align-items: center;
    height: 32px;
}

.header-search input {
    width: 160px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 13px;
    border-radius: 2px 0 0 2px;
}

.header-search input::placeholder {
    color: var(--text-light);
}

.header-search button {
    width: 36px;
    height: 32px;
    background: var(--light-red);
    color: #fff;
    border-radius: 0 2px 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}


.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}


.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--primary-red);
}

.mobile-menu-header .logo-img-mobile {
    height: 32px;
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    color: #fff;
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-list {
    padding: 10px 0;
}

.mobile-nav-list>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: var(--text-dark);
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list>li:has(.mobile-dropdown)>a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-nav-list>li.active:has(.mobile-dropdown)>a::after {
    transform: rotate(180deg);
}

.mobile-dropdown {
    background: var(--bg-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-list>li.active .mobile-dropdown {
    max-height: 300px;
}

.mobile-dropdown li a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: var(--text-gray);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}


.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: #1a1a1a;
}

.slider-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1.05);
}


.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.15) 40%,
            rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.slide-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 16px;
    margin-bottom: 28px;
    opacity: 0.9;
    color: #fff;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--light-red);
    color: #fff;
    font-size: 14px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--accent-red);
}


.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}


.slider-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}


.news-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--primary-red);
    z-index: 10;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    align-items: center;
    height: 40px;
    gap: 15px;
    overflow: hidden;
}

.ticker-label {
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background: var(--primary-red);
    padding-right: 5px;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, var(--primary-red), transparent);
    pointer-events: none;
}

.ticker-scroll {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #fff;
    font-size: 13px;
}

.ticker-scroll span {
    display: inline-block;
}

.ticker-separator {
    margin: 0 12px;
    opacity: 0.6;
    font-size: 8px;
}


.about-hero,
.leader-hero,
.guestbook-hero {
    background: linear-gradient(135deg, #8b1524 0%, #b91c2e 100%);
    color: #fff;
    padding: 80px 0;
}

.about-hero .container,
.guestbook-hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leader-hero {
    position: relative;
    overflow: hidden;
}

.leader-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.08) 0, transparent 45%);
    pointer-events: none;
}

.leader-hero .container {
    position: relative;
}

.about-hero .crumb,
.leader-hero .crumb,
.guestbook-hero .crumb {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 16px;
}

.about-hero .crumb a,
.leader-hero .crumb a,
.guestbook-hero .crumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.about-hero h1,
.guestbook-hero h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 12px;
}

.leader-hero h1 {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
}

.about-hero .lead,
.leader-hero .lead,
.guestbook-hero .lead {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    max-width: 680px;
}

.leader-hero .lead {
    margin-top: 16px;
}


.about-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    padding: 48px 0;
}

@media (max-width: 960px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
}

.about-body {
    background: #fff;
    padding: 36px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.about-body .section-title {
    font-size: 22px;
    font-weight: bold;
    color: #b91c2e;
    border-left: 4px solid #b91c2e;
    padding-left: 14px;
    margin-bottom: 24px;
}

.about-body .rich-text {
    color: #333;
    line-height: 1.95;
    font-size: 15px;
}

.about-body .rich-text img {
    max-width: 100%;
    height: auto;
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.about-info-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 24px;
    border-radius: 4px;
}

.about-info-card .card-title {
    font-size: 16px;
    font-weight: bold;
    color: #b91c2e;
    padding-bottom: 12px;
    border-bottom: 2px solid #b91c2e;
    margin-bottom: 16px;
}

.about-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-info-card li {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px dashed #e5e5e5;
}

.about-info-card li:last-child {
    border-bottom: none;
}

.about-info-card li .lbl {
    color: #888;
    min-width: 64px;
    flex-shrink: 0;
}

.about-info-card li .val {
    color: #333;
    flex: 1;
}

.about-cta {
    background: linear-gradient(135deg, #b91c2e 0%, #d41830 100%);
    color: #fff;
    padding: 24px;
    border-radius: 4px;
    text-decoration: none;
    display: block;
}

.about-cta:hover {
    color: #fff;
    opacity: 0.95;
}

.about-cta .t {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
}

.about-cta .d {
    font-size: 13px;
    opacity: 0.92;
    line-height: 1.5;
    margin-bottom: 14px;
}

.about-cta .btn {
    display: inline-block;
    font-size: 13px;
    padding: 7px 18px;
    border: 1px solid #fff;
    border-radius: 3px;
}


.party-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.party-links li {
    margin-bottom: 10px;
}

.party-links a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.party-links a:hover {
    background: #b91c2e;
    color: #fff;
    border-color: #b91c2e;
}

.party-links a i {
    margin-right: 10px;
    font-size: 12px;
}


.leader-layout {
    padding: 48px 0;
}

.rich-text .leader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 16px 0;
}

.rich-text .leader-card {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    align-items: flex-start;
    transition: box-shadow .2s, transform .2s;
}

.rich-text .leader-card:hover {
    box-shadow: 0 6px 18px rgba(185, 28, 46, 0.12);
    transform: translateY(-2px);
}

.rich-text .leader-avatar {
    flex-shrink: 0;
    width: 96px;
    height: 120px;
    border-radius: 3px;
    object-fit: cover;
    background: #e0e0e0;
}

.rich-text .leader-info {
    flex: 1;
    min-width: 0;
}

.rich-text .leader-info h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin: 0 0 4px;
}

.rich-text .leader-title {
    color: #b91c2e;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.rich-text .leader-bio {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.ld-leaders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.ld-leader {
    padding: 22px 24px;
    background: linear-gradient(135deg, #faf3f0 0%, #f5e8e2 100%);
    border: 1px solid #eeddd6;
    border-radius: 4px;
}

.ld-leader--primary {
    background: linear-gradient(135deg, #8b1524 0%, #b91c2e 100%);
    border-color: transparent;
}

.ld-leader--primary .ld-leader__name,
.ld-leader--primary .ld-leader__title,
.ld-leader--primary .ld-leader__desc {
    color: #fff;
}

.ld-leader__name {
    font-size: 22px;
    font-weight: 800;
    color: #5a1a22;
    letter-spacing: 2px;
}

.ld-leader__title {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 12px;
    background: #8b1524;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.ld-leader__desc {
    margin-top: 10px;
    font-size: 13px;
    color: #6a3a40;
    line-height: 1.6;
}

.ld-leader--primary .ld-leader__title {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.ld-leader__desc {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.ld-dept {
    margin-top: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f2f2f2;
}

.ld-dept:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ld-dept__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.ld-dept__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #8b1524;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
    letter-spacing: 1px;
}

.ld-dept__headright {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.ld-dept__name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 1px;
}

.ld-dept__leader {
    font-size: 13px;
    color: #8b1524;
    font-weight: 600;
}

.ld-dept__members {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 12px;
    padding-left: 52px;
}

.ld-dept__list {
    padding-left: 52px;
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 2;
}

.ld-dept__list li::marker {
    color: #ccc;
}

.ld-dept__text {
    padding-left: 52px;
    font-size: 13px;
    color: #555;
    line-height: 2;
}

@media (max-width: 768px) {
    .ld-leaders {
        grid-template-columns: 1fr;
    }

    .ld-leader__name {
        font-size: 19px;
    }

    .ld-dept__headright {
        flex-direction: column;
        gap: 2px;
    }

    .ld-dept__name {
        font-size: 16px;
    }

    .ld-dept__members,
    .ld-dept__list,
    .ld-dept__text {
        padding-left: 0;
    }
}

.guestbook-main {
    padding: 48px 0 60px;
}

.guestbook-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
}

@media (max-width: 960px) {
    .guestbook-layout {
        grid-template-columns: 1fr;
    }
}

.guestbook-form-card {
    background: #fff;
    padding: 36px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.guestbook-form-card h3 {
    font-size: 22px;
    font-weight: bold;
    color: #b91c2e;
    border-left: 4px solid #b91c2e;
    padding-left: 14px;
    margin-bottom: 24px;
}

.guestbook-form-card .form-group {
    margin-bottom: 20px;
}

.guestbook-form-card label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: bold;
}

.guestbook-form-card label span {
    color: #b91c2e;
}

.guestbook-form-card input[type="text"],
.guestbook-form-card textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .2s;
}

.guestbook-form-card input[type="text"]:focus,
.guestbook-form-card textarea:focus {
    border-color: #b91c2e;
    outline: none;
}

.guestbook-form-card textarea {
    height: 140px;
    resize: vertical;
}

.guestbook-form-card .submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, #b91c2e, #d41830);
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity .2s;
}

.guestbook-form-card .submit-btn:hover {
    opacity: 0.9;
}

.guestbook-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.guestbook-guide-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 24px;
    border-radius: 4px;
}

.guestbook-guide-card .card-title {
    font-size: 16px;
    font-weight: bold;
    color: #b91c2e;
    padding-bottom: 12px;
    border-bottom: 2px solid #b91c2e;
    margin-bottom: 14px;
}

.guestbook-guide-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 10px;
}

.guestbook-contact-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 24px;
    border-radius: 4px;
}

.guestbook-contact-card .card-title {
    font-size: 16px;
    font-weight: bold;
    color: #b91c2e;
    padding-bottom: 12px;
    border-bottom: 2px solid #b91c2e;
    margin-bottom: 14px;
}

.guestbook-contact-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guestbook-contact-card li {
    padding: 8px 0;
    color: #444;
    font-size: 14px;
    border-bottom: 1px dashed #e5e5e5;
}

.guestbook-contact-card li:last-child {
    border-bottom: none;
}


.news-section {
    padding: 40px 0;
    background: var(--bg-white);
}

.news-main {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.news-featured {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
}

.featured-slider {
    position: relative;
    height: 320px;
    border-radius: 4px;
    overflow: hidden;
}

.featured-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.featured-slide.active {
    opacity: 1;
    z-index: 1;
}

.featured-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-slide:hover img {
    transform: scale(1.05);
}

.featured-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.featured-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-dot.active {
    background: var(--light-red);
    width: 24px;
    border-radius: 4px;
}

.featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
}

.news-list-container {
    flex: 1;
}

.news-tabs {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 15px;
}

.tab-btn {
    padding: 12px 20px;
    font-size: 15px;
    color: var(--text-gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
}

.tab-btn.active {
    color: var(--light-red);
    border-bottom-color: var(--light-red);
    font-weight: bold;
}

.tab-btn:hover {
    color: var(--light-red);
}

.more-link {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.more-link:hover {
    color: var(--light-red);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: tabFadeIn 0.3s ease;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-items li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.news-items li a:hover {
    color: var(--light-red);
}

.news-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 15px;
}

.news-date {
    color: var(--text-light);
    font-size: 12px;
    white-space: nowrap;
}


.info-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-red);
}

.info-header h3 {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
}

.info-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 13px;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.info-list li a:hover {
    color: var(--light-red);
}

.info-list li a span:first-child {
    flex: 1;
    max-width: 294px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}

.info-list li a span:last-child {
    color: var(--text-light);
    font-size: 12px;
    white-space: nowrap;
}


.business-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--light-red);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.business-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.business-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.card-overlay h3 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 8px;
}

.card-overlay h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #e02020;
    transition: width 0.4s ease;
}

.business-card:hover .card-overlay h3::after {
    width: 100%;
}


.friend-links-section {
    padding: 14px 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.friend-links-header {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    margin-right: 16px;
}

.friend-links-label {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-dark);
    padding-left: 10px;
    border-left: 3px solid var(--light-red);
}

.friend-links-grid {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}

.friend-links-grid a {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    color: var(--text-gray);
    transition: color 0.2s ease;
    line-height: 2;
}

.friend-links-grid a::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #d0d0d0;
    margin-left: 14px;
    vertical-align: middle;
}

.friend-links-grid a:last-child::after {
    display: none;
}

.friend-links-grid a:hover {
    color: var(--light-red);
}

.friend-links-row {
    display: flex;
    align-items: center;
}


.main-footer {
    background: #1e2127;
    color: #9ca3af;
    border-top: 3px solid var(--light-red);
}

.main-footer>.container {
    padding-top: 48px;
    padding-bottom: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
    gap: 32px;
}

.footer-col h4 {
    color: #e5e7eb;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--light-red);
}


.footer-logo-wrap {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 14px;
}

.footer-logo-wrap .footer-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.8;
    color: #9ca3af;
    margin-bottom: 18px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8290;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--light-red);
    color: #fff;
    transform: translateY(-2px);
}


.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-nav ul li {
    width: 50%;
    margin-bottom: 8px;
}

.footer-nav ul li a {
    font-size: 13px;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
    color: #fff;
}


.footer-contact p {
    font-size: 13px;
    line-height: 2;
    color: #9ca3af;
}

.footer-contact .contact-phone {
    font-size: 20px;
    color: var(--light-red);
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.4;
}

.footer-contact .contact-time {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 6px;
}


.footer-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-qr h4 {
    width: 100%;
    text-align: left;
}

.qr-box {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #ccc;
}

.qr-placeholder i {
    font-size: 32px;
}

.qr-placeholder span {
    font-size: 11px;
}

.qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-qr>p {
    font-size: 12px;
    color: #6b7280;
}


.footer-bottom {
    background: #15171c;
    padding: 0;
    text-align: center;
    width: 100%;
}

.footer-bottom .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-bottom p {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.8;
}

.footer-bottom a {
    color: #4b5563;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #4b5563;
}


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 40px;
    width: 44px;
    height: 44px;
    background: var(--light-red);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(185, 28, 46, 0.35);
}

.back-to-top i {
    line-height: 1;
    vertical-align: middle;
}

.back-to-top:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(185, 28, 46, 0.45);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.page-hero {
    position: relative;
    height: 260px;
    overflow: hidden;
    color: #fff;
    background: #23313d;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(139, 21, 36, 0.82), rgba(25, 42, 54, 0.58)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 260px;
}

.page-hero h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.page-hero p {
    max-width: 620px;
    font-size: 15px;
    opacity: 0.92;
}

.category-main {
    padding: 28px 0 60px;
    background: #fff;
    flex: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--text-light);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--light-red);
}

.category-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: start;
}

.category-sidebar {
    border: 1px solid var(--border-color);
    background: #fff;
}

.sidebar-title {
    padding: 16px 20px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    background: var(--primary-red);
}

.sidebar-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 14px;
}

.sidebar-nav a::after {
    content: '>';
    color: var(--text-light);
    font-size: 12px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--light-red);
    background: rgba(185, 28, 46, 0.05);
}

.category-content {
    min-width: 0;
}

.content-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.content-head h2 {
    position: relative;
    color: var(--text-dark);
    font-size: 24px;
}

.content-head h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 48px;
    height: 2px;
    background: var(--light-red);
}

.content-head span {
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 1px;
}

.placeholder-image {
    height: 260px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 4px;
}

.placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-placeholder p {
    margin-bottom: 14px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.9;
}

.category-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.category-card-item {
    display: block;
    min-height: 120px;
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-white);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card-item:hover {
    transform: translateY(-3px);
    border-color: rgba(185, 28, 46, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.category-card-item h3 {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 18px;
}

.category-card-item p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.7;
}

.category-list li a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-dark);
    font-size: 15px;
}

.category-list li a:hover {
    color: var(--light-red);
}

.category-list .date {
    color: var(--text-light);
    font-size: 13px;
}

.message-form {
    display: grid;
    gap: 16px;
    max-width: 680px;
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
}

.message-form textarea {
    min-height: 150px;
    resize: vertical;
}

.message-form button {
    width: 140px;
    height: 42px;
    border-radius: 3px;
    color: #fff;
    background: var(--light-red);
    font-size: 14px;
}

.template-page {
    min-height: 100vh;
    padding: 40px 0 70px;
    background: #fff;
}

.article-detail {
    max-width: 860px;
    margin: 0 auto;
}

.article-detail h1 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 28px;
    line-height: 1.35;
    text-align: center;
}

.article-meta {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 13px;
    text-align: center;
}

.article-detail p {
    margin-bottom: 14px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.9;
}

.image-list {
    display: grid;
    gap: 18px;
}

.image-list a {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.image-list a:hover {
    border-color: rgba(185, 28, 46, 0.35);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.image-list img {
    width: 220px;
    height: 130px;
    object-fit: cover;
    border-radius: 4px;
}

.image-list h3 {
    margin: 6px 0 8px;
    color: var(--text-dark);
    font-size: 18px;
}

.image-list p {
    color: var(--text-gray);
    font-size: 14px;
}


@media (max-width: 1024px) {
    .header-search {
        display: none;
    }

    .nav-item>a {
        padding: 0 12px;
        font-size: 14px;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-layout {
        grid-template-columns: 220px 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 55px;
    }

    .container {
        padding: 0 15px;
    }


    .top-bar {
        display: none;
    }


    .main-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .logo-text {
        font-size: 24px;
    }


    .hero-slider {
        height: 400px;
    }

    .slide-title {
        font-size: 26px;
    }

    .slide-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .news-ticker {
        height: 36px;
    }

    .ticker-scroll {
        font-size: 12px;
    }


    .news-main {
        flex-direction: column;
    }

    .news-featured {
        flex: 1;
        max-width: 100%;
    }

    .featured-image {
        height: 220px;
    }

    .info-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    .business-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 220px;
    }


    .friend-links-grid {
        gap: 2px 0;
    }

    .friend-links-grid a {
        padding: 4px 10px;
        font-size: 12px;
    }

    .friend-links-grid a::after {
        margin-left: 10px;
    }


    .main-footer>.container {
        padding-top: 30px;
        padding-bottom: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-desc {
        margin: 0 auto 18px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-nav ul {
        justify-content: center;
    }

    .footer-qr {
        align-items: center;
    }

    .footer-qr h4 {
        text-align: center;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    .page-hero,
    .page-hero-content {
        height: 210px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-card-grid {
        grid-template-columns: 1fr;
    }

    .content-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .content-head h2 {
        padding-bottom: 8px;
    }

    .content-head h2::after {
        bottom: 0;
    }

    .placeholder-image {
        height: 200px;
    }

    .image-list a {
        grid-template-columns: 1fr;
    }

    .image-list img {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 320px;
    }

    .slide-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .slide-subtitle {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 13px;
    }

    .slider-dots {
        bottom: 50px;
    }

    .news-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

    .category-list li a {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .back-to-top {
        right: 16px;
        bottom: 24px;
        width: 40px;
        height: 40px;
        font-size: 14px;
        border-radius: 6px;
    }
}


.pagess {
    margin: 30px 0 10px;
    text-align: center;
}

.pagess .pagination {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    height: auto;
}

.pagess .pagination li {
    display: inline-block;
    height: auto;
    margin-right: 0;
}

.pagess .pagination li a,
.pagess .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    background: #fff;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.pagess .pagination li a:hover {
    color: #b91c2e;
    border-color: #b91c2e;
    background: #fdf2f3;
}

.pagess .pagination li.active a,
.pagess .pagination li.active span {
    background: #b91c2e;
    color: #fff;
    border-color: #b91c2e;
    cursor: default;
}

.pagess .pagination li.active a:hover {
    background: #b91c2e;
    color: #fff;
}

.pagess .pagination li.disabled a,
.pagess .pagination li.disabled span {
    color: #bbb;
    border-color: #e5e5e5;
    background: #fafafa;
    cursor: not-allowed;
    pointer-events: none;
}

.pagess .pagination li.ellipsis span {
    border: none;
    background: none;
    color: #888;
    cursor: default;
    min-width: 28px;
    padding: 0 4px;
}

.pagess .pagination li.total a,
.pagess .pagination li.total span {
    border: none;
    background: none;
    color: #888;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 768px) {

    .pagess .pagination li a,
    .pagess .pagination li span {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 6px;
    }
}




@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.anim-fade-up,
.anim-fade-left,
.anim-fade-right,
.anim-fade-scale,
.anim-fade-down {
    opacity: 0;
    will-change: transform, opacity;
}


.anim-fade-up.animated {
    animation: fadeInUp 0.7s ease forwards;
}

.anim-fade-left.animated {
    animation: fadeInLeft 0.7s ease forwards;
}

.anim-fade-right.animated {
    animation: fadeInRight 0.7s ease forwards;
}

.anim-fade-scale.animated {
    animation: fadeInScale 0.7s ease forwards;
}

.anim-fade-down.animated {
    animation: fadeInDown 0.6s ease forwards;
}


.anim-delay-1 {
    animation-delay: 0.1s !important;
}

.anim-delay-2 {
    animation-delay: 0.2s !important;
}

.anim-delay-3 {
    animation-delay: 0.3s !important;
}

.anim-delay-4 {
    animation-delay: 0.4s !important;
}

.anim-delay-5 {
    animation-delay: 0.5s !important;
}

.anim-delay-6 {
    animation-delay: 0.6s !important;
}

.anim-delay-7 {
    animation-delay: 0.7s !important;
}

.anim-delay-8 {
    animation-delay: 0.8s !important;
}


@media (max-width: 768px) {

    .anim-fade-up,
    .anim-fade-left,
    .anim-fade-right,
    .anim-fade-scale,
    .anim-fade-down {
        opacity: 1;
        animation: none !important;
        will-change: auto;
        transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
            opacity 0.35s ease;
    }

    .anim-fade-up {
        transform: translateY(8px);
    }

    .anim-fade-left {
        transform: translateX(8px);
    }

    .anim-fade-right {
        transform: translateX(-8px);
    }

    .anim-fade-scale {
        transform: scale(0.98);
    }

    .anim-fade-down {
        transform: translateY(-8px);
    }

    .anim-fade-up.animated {
        transform: translateY(0);
    }

    .anim-fade-left.animated {
        transform: translateX(0);
    }

    .anim-fade-right.animated {
        transform: translateX(0);
    }

    .anim-fade-scale.animated {
        transform: scale(1);
    }

    .anim-fade-down.animated {
        transform: translateY(0);
    }

    .anim-delay-1 {
        transition-delay: 0.05s;
    }

    .anim-delay-2 {
        transition-delay: 0.1s;
    }

    .anim-delay-3 {
        transition-delay: 0.15s;
    }

    .anim-delay-4 {
        transition-delay: 0.2s;
    }

    .anim-delay-5 {
        transition-delay: 0.25s;
    }

    .anim-delay-6 {
        transition-delay: 0.3s;
    }

    .anim-delay-7 {
        transition-delay: 0.35s;
    }

    .anim-delay-8 {
        transition-delay: 0.4s;
    }
}