@charset "UTF-8";
/* 
Theme Name: 独立站定制（2026122）
Author: 西西里没有日落
Template: kadence
 Version: 1.1.241
Text Domain: kadence-rato-child
*/

/* 
* Add your custom styles here 
*/

.page-template-template-about-rato-cn #page, 
.page-template-template-about-rato #page,
.page-template-template-about-rato-cn .site-content,
.page-template-template-about-rato .site-content,
.page-template-template-about-rato-cn .content-container,
.page-template-template-about-rato .content-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Product Sticky Nav Fix (v1.1.211) */
.pro_page_nav {
    z-index: 990;
}

/* Category Navigation Refactor (v1.1.153) */
.rato-cat-nav-container {
    width: 100%;
}

.rato-cat-level-1-view,
.rato-cat-level-2-view {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rato-cat-level-1-view > li,
.rato-cat-level-2-view > li {
    margin: 0;
    padding: 0;
}

/* Level 1: Main Categories (Top Row) */
.rato-cat-level-1-view {
    border-bottom: 1px solid #eee;
    background: #fff;
}

.rato-cat-level-1-view > li > a {
    display: block;
    padding: 15px 25px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.rato-cat-level-1-view > li.current-cat > a,
.rato-cat-level-1-view > li > a:hover {
    color: #00afec;
    border-bottom-color: #00afec;
}

/* Level 2: Sub Categories (Bottom Row) */
.rato-sub-cats-container {
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    display: none; /* Hidden by default */
}

.rato-sub-cats-container.is-active {
    display: block;
}

.rato-cat-level-2-view {
    padding: 10px 20px;
    align-items: center;
}

.rato-cat-level-2-view > li > a {
    display: block;
    padding: 8px 15px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.rato-cat-level-2-view > li.current-cat > a,
.rato-cat-level-2-view > li > a:hover {
    color: #fff;
    background: #00afec;
}

/* Hide default dropdown arrows if any */
.rato-cat-level-1-view .am-icon-angle-down {
    display: none;
}

/* Homepage Slider Fix (v1.1.156) */
.rato-home-slider .slick-slide {
    height: auto;
    outline: none;
}
.rato-home-slider .slick-slide img {
    width: 100%;
    display: block;
}
.rato-home-slider .slick-dots {
    bottom: 20px;
}
.rato-home-slider .slick-dots li button:before {
    font-size: 12px;
    color: #fff;
    opacity: 0.5;
}
.rato-home-slider .slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}
.rato-home-slider {
    position: relative;
}
.rato-home-slider .slick-prev,
.rato-home-slider .slick-next {
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
}
.rato-home-slider .slick-prev {
    left: 20px;
}
.rato-home-slider .slick-next {
    right: 20px;
}
.rato-home-slider .slick-prev:before,
.rato-home-slider .slick-next:before {
    font-size: 18px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.55);
    opacity: 1;
}
.rato-home-slider .slick-prev:before {
    content: "‹";
}
.rato-home-slider .slick-next:before {
    content: "›";
}

/* Product Banner Full Width Fix (v1.1.158) */
body {
    overflow-x: hidden; /* Prevent horizontal scroll from full-width breakout */
}
.rato-product-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
}

/* Application Page Template Styles (v1.1.159) */
.rato-app-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    height: 240px;
    overflow: hidden;
}
.rato-app-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.page-template-template-contact-rato-php .banner,
body.page-template-template-contact-rato-cn-php .banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    height: 240px;
    overflow: hidden;
}
body.page-template-template-contact-rato-php .banner img,
body.page-template-template-contact-rato-cn-php .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rato-app-header-bar {
    background: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.rato-app-header-bar .web_w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Nav Links */
.rato-app-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.rato-app-nav li {
    margin-right: 0;
    font-size: 1.5rem;
    color: #666;
}
.rato-app-nav li:not(:last-child):after {
    content: "|";
    margin: 0 10px;
    color: #ccc;
}
.rato-app-nav a {
    color: #333;
    line-height: 22px;
    font-weight: normal;
    text-decoration: none;
    transition: color 0.3s;
}
.rato-app-nav a:hover {
    color: #00afec;
}

/* Breadcrumb */
.rato-app-breadcrumb {
    font-size: 15px;
    color: #999;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
}
.rato-app-breadcrumb a {
    color: #999;
}
.rato-app-breadcrumb .am-icon-angle-right {
    margin: 0 10px;
    color: #999;
}

/* Main Title */
.rato-app-main-title {
    text-align: center;
    padding: 40px 0;
}
.rato-app-main-title h1 {
    font-size: 28px;
    color: #00afec;
    margin: 0 0 10px;
}
.rato-app-main-title .title-line {
    width: 40px;
    height: 3px;
    background: #00afec;
    margin: 0 auto;
}

/* Modules */
.app-module-section {
    padding: 60px 0;
    display: none;
}
.app-module-section:first-of-type {
    display: block;
}
.app-module-section.is-active {
    display: block;
}
.app-bg-gray {
    background: #f9f9f9;
}
.app-bg-white {
    background: #fff;
}
.app-module-flex {
    display: flex;
    align-items: flex-start; /* Top align for text */
    justify-content: space-between;
    gap: 40px;
}
.app-row-reverse {
    flex-direction: row-reverse;
}

.app-module-img-col {
    width: 40%;
    position: relative;
}
.app-module-text-col {
    width: 55%;
}

/* Temp Bar */
.temp-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}
.temp-gradient-line {
    flex: 1;
    height: 6px;
    background: linear-gradient(to right, #33ccff, #ff3300);
    margin: 0 10px;
    border-radius: 3px;
}

/* Image Wrapper */
.img-wrapper {
    width: 100%;
    height: 300px;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Text Content */
.app-module-text-col h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
}
.app-module-text-col h2 i {
    margin-right: 10px;
    color: #00afec;
}
.app-module-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.module-header h2 {
    margin: 0;
}
.module-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.module-icon img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}
.app-module-desc p {
    margin-bottom: 15px;
}

/* Products List */
.app-module-products-title {
    font-size: 16px;
    color: #333;
    border-left: 4px solid #00afec;
    padding-left: 10px;
    margin-bottom: 15px;
}
.app-module-products-title em {
    font-style: normal;
    font-weight: 600;
    color: #666;
}
.app-module-products-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.app-module-products-list li a {
    display: block;
    border: 1px solid #eee;
    background: #fff;
    text-decoration: none;
    padding: 12px;
    transition: box-shadow 0.2s ease;
}
.app-module-products-list li a:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.app-module-product-img {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* Changed from #fafafa to #fff per user request (v1.1.221) */
}
.app-module-product-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}
.app-module-products-list h3 {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .app-module-flex, .app-row-reverse {
        flex-direction: column;
    }
    .app-module-img-col, .app-module-text-col {
        width: 100%;
    }
    .app-module-products-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .img-wrapper {
        width: 100%;
        height: auto;
    }
    .img-wrapper img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
    }
    .rato-app-nav ul {
        justify-content: center;
    }
    .rato-app-header-bar .web_w {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .app-module-products-list {
        grid-template-columns: 1fr;
    }
}
body.page-template-template-home-rato-cn-php .rato-home-slider,
body.page-template-template-home-rato-php .index_banner.en-banner {
    margin-bottom: 0;
}
body.page-template-template-home-rato-cn-php .index_product {
    padding-top: 50px; /* Add whitespace between banner and product center */
}
body.page-template-template-home-rato-php .index_product {
    padding-top: 0;
}
body.page-template-template-home-rato-cn-php .index_title .des {
    margin-top: 8px;
}
body.page-template-template-home-rato-cn-php .index_product .hd ul {
    margin-top: 12px;
}
body.page-template-template-home-rato-cn-php,
body.page-template-template-home-rato-cn-php #page,
body.page-template-template-home-rato-cn-php footer {
    margin-bottom: 0;
    padding-bottom: 0;
}
body.page-template-template-contact-rato-php,
body.page-template-template-contact-rato-cn-php,
body.page-template-template-about-rato-php,
body.page-template-template-about-rato-cn-php,
body.page-template-template-application-page-php {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.page-template-template-contact-rato-php footer,
body.page-template-template-contact-rato-cn-php footer,
body.page-template-template-about-rato-php footer,
body.page-template-template-about-rato-cn-php footer,
body.page-template-template-application-page-php footer {
    margin-top: auto;
}
.product_sort.product_sort_menu dd .des h3,
.product_sort.product_sort_menu dd .des .am-dropdown,
.product_sort.product_sort_menu .rato-cat-dropdown > .rato-cat-item,
.product_sort.product_sort_menu .rato-cat-sub > .rato-cat-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 16px;
    margin-right: 16px;
}
.product_sort.product_sort_menu dd .des h3:last-child,
.product_sort.product_sort_menu dd .des .am-dropdown:last-child,
.product_sort.product_sort_menu .rato-cat-dropdown > .rato-cat-item:last-child,
.product_sort.product_sort_menu .rato-cat-sub > .rato-cat-item:last-child {
    padding-right: 0;
    margin-right: 0;
}
.product_sort.product_sort_menu dd .des h3:not(:last-child)::after,
.product_sort.product_sort_menu dd .des .am-dropdown:not(:last-child)::after,
.product_sort.product_sort_menu .rato-cat-dropdown > .rato-cat-item:not(:last-child)::after,
.product_sort.product_sort_menu .rato-cat-sub > .rato-cat-item:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #cfcfcf;
    font-weight: 400;
}
.nav .parent_li .sub,
.menu.am-sticky .nav .parent_li .sub {
    top: 100% !important;
    margin-top: 0;
    border-top: 1px solid #e6e6e6;
}

/* 
 * ABOUT PAGE STYLES (v1.1.216)
 * Implements sticky nav, profile slider, culture, history, and honors sections
 */

/* Banner */
.about-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 240px;
    overflow: hidden;
    margin-top: 0; /* Ensure no top margin */
    display: block; /* Ensure block display */
}
.about-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fix Header Margin on About Page */
.page-template-template-about-rato-cn header,
.page-template-template-about-rato header,
.page-template-template-about-rato-cn .site-header,
.page-template-template-about-rato .site-header {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.page-template-template-about-rato-cn,
.page-template-template-about-rato {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.page-template-template-about-rato-cn .about-banner,
.page-template-template-about-rato .about-banner {
    margin-top: 0 !important;
}

/* Sub Navigation Wrapper (Deprecated - Replaced by rato-app-header-bar in v1.1.223) */
.about-sub-nav-wrapper {
    display: none; 
}

/* Breadcrumbs (Right Side) (Deprecated) */
.about-breadcrumbs {
    display: none;
}

/* Sub Nav Menu (Deprecated) */
.about-sub-nav {
    display: none;
}

/* Section Blocks */
.section-block {
    padding: 60px 0;
    display: none; /* Hidden by default, JS handles visibility */
}
.section-block.active,
.section-block.is-active {
    display: block;
}

/* Ensure active nav link color matches hover (v1.1.223) */
.rato-app-nav a.is-active {
    color: #00afec;
}

/* Profile Section */
.rato-about-profile p {
    line-height: 1.8;
    color: #666;
    font-size: 15px;
    margin-bottom: 15px;
}
.about-profile-slider .slick-slide img {
    width: 100%;
    border-radius: 8px;
}

/* Culture Section */
.rato-about-culture-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    background: #fdfdfd;
}
.rato-about-culture-list {
    margin-top: 40px;
    list-style: none;
    padding: 0;
}
.rato-about-culture-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    margin-bottom: 20px;
}
.rato-about-culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.rato-about-culture-img {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.rato-about-culture-img img {
    max-height: 100%;
    width: auto;
}
.rato-about-culture-img i {
    font-size: 40px;
    color: #00afec;
}
.rato-about-culture-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}
.rato-about-culture-item p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* History Section */
.rato-about-history {
    background: #fff;
}
.history-timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding-left: 30px;
}
.history-timeline:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px;
}
.timeline-marker {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00afec;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #00afec;
}
.timeline-year {
    font-size: 20px;
    font-weight: bold;
    color: #00afec;
    margin-bottom: 10px;
}
.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Honors Section */
.rato-about-honors {
    background: #fff;
}
.honors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.honor-item {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    transition: box-shadow 0.3s;
}
.honor-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.honor-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.section-title:after {
    content: "";
    width: 50px;
    height: 3px;
    background: #00afec;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive for About Page */
@media (max-width: 992px) {
    .rato-about-profile .info-media {
        margin-top: 30px;
    }
    .honors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .about-sub-nav-wrapper {
        height: auto;
    }
    .about-sub-nav-wrapper .web_w {
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .about-sub-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
        margin-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    .about-sub-nav li {
        flex-shrink: 0;
    }
    .about-breadcrumbs {
        display: none;
    }
    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .honors-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 per row for honors on mobile usually better than 1 big one */
        gap: 10px;
    }
    .section-title {
        font-size: 22px;
    }
}

/* =========================================
   GLOBAL HEADER & FOOTER FIXES (v1.1.231)
   ========================================= */

/* 1. Header Whitespace Fix & Global Reset */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Force header to top and remove gaps */
header, 
.site-header, 
.am-sticky-placeholder {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure sticky header sits exactly at top */
.menu.am-sticky.am-sticky-fixed {
    top: 0 !important;
}

/* 2. Footer Sticky Fix (Push Footer to Bottom) */
/* Apply Flex Column to Body for specific templates 
   Note: Including both standard slug and -php suffix for robustness */
body.page-template-template-application-page,
body.page-template-template-application-page-php,
body.page-template-template-about-rato,
body.page-template-template-about-rato-php,
body.page-template-template-about-rato-cn,
body.page-template-template-about-rato-cn-php,
body.page-template-template-news-list,
body.page-template-template-news-list-php,
body.page-template-template-news-list-cn,
body.page-template-template-news-list-cn-php,
body.page-template-template-contact-rato,
body.page-template-template-contact-rato-php,
body.page-template-template-contact-rato-cn,
body.page-template-template-contact-rato-cn-php,
body.page-template-template-contact-us,
body.page-template-template-contact-us-php,
body.page-template-template-contact-us-cn,
body.page-template-template-contact-us-cn-php {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Make content area expand to fill space */
body.page-template-template-application-page .rato-app-page,
body.page-template-template-application-page-php .rato-app-page,
body.page-template-template-about-rato .page,
body.page-template-template-about-rato-php .page,
body.page-template-template-about-rato-cn .page,
body.page-template-template-about-rato-cn-php .page,
body.page-template-template-news-list .page,
body.page-template-template-news-list-php .page,
body.page-template-template-news-list-cn .page,
body.page-template-template-news-list-cn-php .page,
body.page-template-template-contact-rato .page,
body.page-template-template-contact-rato-php .page,
body.page-template-template-contact-rato-cn .page,
body.page-template-template-contact-rato-cn-php .page,
body.page-template-template-contact-us .page,
body.page-template-template-contact-us-php .page,
body.page-template-template-contact-us-cn .page,
body.page-template-template-contact-us-cn-php .page {
    flex: 1;
    width: 100%;
}

/* Ensure footer stays at bottom and remove top/bottom margin */
body.page-template-template-application-page footer,
body.page-template-template-application-page-php footer,
body.page-template-template-about-rato footer,
body.page-template-template-about-rato-php footer,
body.page-template-template-about-rato-cn footer,
body.page-template-template-about-rato-cn-php footer,
body.page-template-template-news-list footer,
body.page-template-template-news-list-php footer,
body.page-template-template-news-list-cn footer,
body.page-template-template-news-list-cn-php footer,
body.page-template-template-contact-rato footer,
body.page-template-template-contact-rato-php footer,
body.page-template-template-contact-rato-cn footer,
body.page-template-template-contact-rato-cn-php footer,
body.page-template-template-contact-us footer,
body.page-template-template-contact-us-php footer,
body.page-template-template-contact-us-cn footer,
body.page-template-template-contact-us-cn-php footer {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove footer info top margin for these pages */
body.page-template-template-application-page .footer_info,
body.page-template-template-application-page-php .footer_info,
body.page-template-template-about-rato .footer_info,
body.page-template-template-about-rato-php .footer_info,
body.page-template-template-about-rato-cn .footer_info,
body.page-template-template-about-rato-cn-php .footer_info,
body.page-template-template-news-list .footer_info,
body.page-template-template-news-list-php .footer_info,
body.page-template-template-news-list-cn .footer_info,
body.page-template-template-news-list-cn-php .footer_info,
body.page-template-template-contact-rato .footer_info,
body.page-template-template-contact-rato-php .footer_info,
body.page-template-template-contact-rato-cn .footer_info,
body.page-template-template-contact-rato-cn-php .footer_info,
body.page-template-template-contact-us .footer_info,
body.page-template-template-contact-us-php .footer_info,
body.page-template-template-contact-us-cn .footer_info,
body.page-template-template-contact-us-cn-php .footer_info {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove bottom padding/margin from page containers */
.rato-app-page,
.about-page-content,
.rato-contact-wrap,
body.page-template-template-news-list .page,
body.page-template-template-news-list-php .page,
body.page-template-template-news-list-cn .page,
body.page-template-template-news-list-cn-php .page,
body.page-template-template-contact-rato .page,
body.page-template-template-contact-rato-php .page,
body.page-template-template-contact-rato-cn .page,
body.page-template-template-contact-rato-cn-php .page,
body.page-template-template-contact-us .page,
body.page-template-template-contact-us-php .page,
body.page-template-template-contact-us-cn .page,
body.page-template-template-contact-us-cn-php .page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}


/* News Detail Page Styles (v1.1.234) */
.rato-news-detail-page {
    padding: 40px 0;
    min-height: 50vh;
}
.rato-news-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.rato-news-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}
.rato-news-meta {
    font-size: 14px;
    color: #999;
    display: flex;
    justify-content: center;
    gap: 30px;
}
.rato-news-meta span {
    display: inline-block;
}

.rato-news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 60px;
}
.rato-news-content p {
    margin-bottom: 20px;
}
.rato-news-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Footer Navigation */
.rato-news-footer-nav {
    border-top: 1px solid #eee;
    padding-top: 40px;
    margin-bottom: 40px;
}
.rato-news-footer-nav .nav-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}
.rato-news-footer-nav .nav-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}
.rato-news-footer-nav .nav-links a:hover {
    color: #00afec;
}
.rato-news-footer-nav .nav-links .disabled {
    color: #ccc;
    cursor: default;
}

.rato-news-footer-nav .nav-return {
    text-align: center;
}
.rato-news-footer-nav .nav-return a {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
}
.rato-news-footer-nav .nav-return a:hover {
    background: #00afec;
    color: #fff;
    border-color: #00afec;
}

/* Responsive */
@media (max-width: 768px) {
    .rato-news-meta {
        flex-direction: column;
        gap: 10px;
    }
    .rato-news-footer-nav .nav-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .rato-news-header h1 {
        font-size: 22px;
    }
}
