/*
Theme Name: restaurant-zone-child
Theme URI:
Description:
Author:
Author URI:
Template: restaurant-zone
Version: 1.0
*/

:root {
    --cft-white: #ffffff;
    --cft-gold: #f5d28a;
    --cft-red: #a32020;
    --cft-dark-red: #721217;
    --cft-border: rgba(245, 210, 138, 0.30);
}
body {
    background-color: #171717af;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.616),
            rgba(0, 0, 0, 0.281)
        ),
        url('/img/laterns-bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--cft-white);
}
#page.site {
    background: transparent;
}
#primary,
#primary #main,
#primary article,
#primary .entry-content,
#primary .entry-header {
    background: transparent;
    border: none;
    box-shadow: none;
}
#primary #main {
    padding: 0 25px 30px 0;
}
#primary .entry-content {
    color: var(--cft-white);
    font-family: 'Lato', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.85;
}
#primary .entry-content p {
    color: var(--cft-white);
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.65);
}
#primary .entry-content strong,
#primary .entry-content b {
    color: var(--cft-white);
    font-weight: 700;
}
#primary h1.entry-title {
    font-family: 'Lora', Georgia, serif;
    color: var(--cft-gold);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cft-border);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}
#primary .entry-content h2 {
    font-family: 'Lora', Georgia, serif;
    color: var(--cft-gold);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 40px;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
}
#primary .entry-content h3 {
    font-family: 'Lora', Georgia, serif;
    color: var(--cft-gold);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 28px;
    margin-bottom: 15px;
}
#primary .entry-content h4,
#primary .entry-content h5,
#primary .entry-content h6 {
    font-family: 'Lora', Georgia, serif;
    color: var(--cft-gold);
    font-weight: 600;
}
#primary .entry-content ul,
#primary .entry-content ol {
    padding-left: 25px;
    margin-bottom: 25px;
}
#primary .entry-content li {
    color: var(--cft-white);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 8px;
}
#primary .entry-content li::marker {
    color: var(--cft-gold);
}
#primary .entry-content a,
#primary .entry-footer a {
    color: var(--cft-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}
#primary .entry-content a:hover {
    color: var(--cft-white);
}
#secondary,
#secondary .sidebar {
    background: transparent;
}
#secondary .widget {
    background: transparent;
    color: var(--cft-white);
    padding: 18px;
    margin-bottom: 25px;
    border: 1px solid var(--cft-border);
    border-radius: 6px;
    box-shadow: none;
}
#secondary .widget-title,
#secondary .wp-block-search__label {
    display: block;
    background: transparent;
    color: var(--cft-gold);
    font-family: 'Lora', Georgia, serif;
    font-size: 23px;
    font-weight: 600;
    padding: 0 0 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--cft-border);
}
#secondary .widget p,
#secondary .widget li,
#secondary .widget a {
    color: var(--cft-white);
}
#secondary .widget a:hover {
    color: var(--cft-gold);
}
#secondary .wp-block-search__inside-wrapper {
    display: flex;
    gap: 8px;
}
#secondary .wp-block-search__input {
    min-width: 0;
    width: 100%;
    background: #ffffff;
    color: #242424;
    border: 1px solid var(--cft-border);
    border-radius: 4px;
    padding: 10px;
}
#secondary .wp-block-search__button {
    background: var(--cft-red);
    color: var(--cft-white);
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    margin-left: 0;
    transition: background 0.25s ease;
}
#secondary .wp-block-search__button:hover {
    background: var(--cft-dark-red);
}
@media (max-width: 991px) {
    #primary #main {
        padding: 0 0 25px;
    }
    #primary h1.entry-title {
        font-size: 30px;
    }
}
@media (max-width: 767px) {
    body {
        background-attachment: scroll;
    }
    #primary h1.entry-title {
        font-size: 27px;
    }
    #primary .entry-content h2 {
        font-size: 23px;
    }
    #primary .entry-content h3 {
        font-size: 20px;
    }
    #primary .entry-content,
    #primary .entry-content p,
    #primary .entry-content li {
        font-size: 16px;
        line-height: 1.75;
    }
    #secondary {
        margin-top: 25px;
    }
}
.cft-spring-festival {
    position: relative;
    margin: 45px 0;
    padding: 0;
    background: transparent;
}
#primary .entry-content .cft-spring-festival > h2 {
    position: relative;
    color: var(--cft-gold, #f5d28a);
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(245, 210, 138, 0.25);
}
.cft-spring-festival > h2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 85px;
    height: 3px;
    background: linear-gradient(
        90deg,
        #a32020,
        #f5d28a
    );
}
.cft-festival-subsection {
    position: relative;
    margin: 30px 0;
    padding: 5px 0 5px 24px;
    border-left: 2px solid rgba(245, 210, 138, 0.40);
    background: transparent;
}
#primary .entry-content .cft-festival-subsection > h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--cft-gold, #f5d28a);
}
#primary .entry-content .cft-festival-subsection > p:last-child {
    margin-bottom: 0;
}
#primary .entry-content .cft-traditions-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 25px 0 10px;
}
#primary .entry-content .cft-traditions-list li {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 85px;
    margin: 0;
    padding: 16px 16px 16px 42px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(245, 210, 138, 0.20);
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.65;
    transition: background 0.3s ease,
                border-color 0.3s ease;
}
.cft-traditions-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 18px;
    width: 9px;
    height: 9px;
    background: #f5d28a;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 10px rgba(245, 210, 138, 0.25);
}
#primary .entry-content .cft-traditions-list li:hover {
    background: rgba(163, 32, 32, 0.20);
    border-color: rgba(245, 210, 138, 0.55);
}
@media (max-width: 991px) {
    #primary .entry-content .cft-traditions-list {
        grid-template-columns: 1fr;
    }
    #primary .entry-content .cft-traditions-list li {
        min-height: 60px;
    }
}
@media (max-width: 767px) {
    .cft-spring-festival {
        margin: 30px 0;
    }
    .cft-festival-subsection {
        padding-left: 15px;
        margin: 25px 0;
    }
    #primary .entry-content .cft-traditions-list li {
        padding: 14px 14px 14px 35px;
    }
    .cft-traditions-list li::before {
        left: 14px;
    }
}
.cft-lantern-festival {
    position: relative;
    overflow: hidden;
    margin: 45px 0;
    padding: 35px;
    background: linear-gradient(
        135deg,
        rgba(110, 18, 24, 0.96) 0%,
        rgba(65, 12, 17, 0.96) 50%,
        rgba(30, 10, 12, 0.98) 100%
    );
    border: 1px solid rgba(245, 210, 138, 0.35);
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}
.cft-lantern-festival::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #f5d28a,
        transparent
    );
}
#primary .entry-content .cft-lantern-festival > h2 {
    color: var(--cft-gold, #f5d28a);
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(245, 210, 138, 0.25);
    line-height: 1.4;
}
#primary .entry-content .cft-lantern-festival p {
    color: #ffffff;
}
#primary .entry-content .cft-lantern-activities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 25px 0;
    counter-reset: lantern-activity;
}
#primary .entry-content .cft-lantern-activities li {
    position: relative;
    counter-increment: lantern-activity;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 145px;
    padding: 20px 12px;
    margin: 0;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(245, 210, 138, 0.25);
    border-radius: 6px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
    transition: background 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s ease;
}
.cft-lantern-activities li::before {
    content: counter(lantern-activity, decimal-leading-zero);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 15px;
    border: 1px solid rgba(245, 210, 138, 0.45);
    border-radius: 50%;
    color: #f5d28a;
    font-family: 'Lora', Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    background: rgba(245, 210, 138, 0.07);
}
#primary .entry-content .cft-lantern-activities li:hover {
    background: rgba(245, 210, 138, 0.08);
    border-color: rgba(245, 210, 138, 0.65);
    transform: translateY(-3px);
}
#primary .entry-content .cft-lantern-note {
    background: rgba(0, 0, 0, 0.20);
    border-left: 3px solid #c5a059;
    border-radius: 0 5px 5px 0;
    padding: 20px;
    margin-top: 25px;
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .cft-lantern-festival {
        padding: 28px;
    }
}
@media (max-width: 767px) {
    .cft-lantern-festival {
        padding: 22px;
        margin: 30px 0;
    }
    #primary .entry-content .cft-lantern-activities {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    #primary .entry-content .cft-lantern-activities li {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        min-height: 65px;
        padding: 15px;
        text-align: left;
    }
    .cft-lantern-activities li::before {
        flex-shrink: 0;
        margin-bottom: 0;
    }
    #primary .entry-content .cft-lantern-note {
        padding: 15px;
    }
}
.cft-spring-history {
    position: relative;
    margin: 45px 0;
    background: transparent;
}
#primary .entry-content .cft-spring-history > h2 {
    color: var(--cft-gold, #f5d28a);
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(245, 210, 138, 0.30);
}
.cft-history-timeline {
    position: relative;
    margin-left: 8px;
    padding-left: 30px;
    border-left: 1px solid rgba(245, 210, 138, 0.45);
}
#primary .entry-content .cft-history-timeline > p {
    position: relative;
    margin-bottom: 22px;
    padding: 22px 25px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(245, 210, 138, 0.15);
    border-radius: 6px;
    color: #ffffff;
    line-height: 1.85;
    transition: background 0.3s ease,
                border-color 0.3s ease;
}
.cft-history-timeline > p::before {
    content: "";
    position: absolute;
    top: 28px;
    left: -38px;
    width: 14px;
    height: 14px;
    border: 2px solid #f5d28a;
    border-radius: 50%;
    background: #65151a;
    box-shadow: 0 0 12px rgba(245, 210, 138, 0.30);
    box-sizing: border-box;
}
#primary .entry-content .cft-history-timeline > p:hover {
    background: rgba(100, 18, 24, 0.25);
    border-color: rgba(245, 210, 138, 0.35);
}
#primary .entry-content .cft-history-timeline > p:last-child {
    margin-bottom: 0;
}
.cft-community-celebrations {
    position: relative;
    margin: 45px 0;
    padding: 35px;
    background: linear-gradient(
        160deg,
        rgba(90, 15, 20, 0.96),
        rgba(35, 10, 13, 0.98)
    );
    border: 1px solid rgba(245, 210, 138, 0.30);
    border-top: 3px solid #c5a059;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
#primary .entry-content .cft-community-celebrations > h2 {
    color: var(--cft-gold, #f5d28a);
    margin-top: 0;
    margin-bottom: 22px;
}
#primary .entry-content .cft-community-celebrations > p {
    color: #ffffff;
}
#primary .entry-content .cft-community-celebrations > p:last-child {
    margin-bottom: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(245, 210, 138, 0.20);
}
#primary .entry-content .cft-community-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 28px 0;
}
#primary .entry-content .cft-community-grid > li {
    position: relative;
    margin: 0;
    padding: 25px 18px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(245, 210, 138, 0.25);
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    transition: transform 0.3s ease,
                background 0.3s ease,
                border-color 0.3s ease;
}
#primary .entry-content .cft-community-grid > li > strong {
    display: block;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(245, 210, 138, 0.25);
    font-family: 'Lora', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--cft-gold, #f5d28a);
}
.cft-community-grid > li::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 0 20px 3px;
    background: #c5a059;
    transform: rotate(45deg);
    box-shadow: 0 0 12px rgba(245, 210, 138, 0.25);
}
#primary .entry-content .cft-community-grid > li:hover {
    transform: translateY(-4px);
    background: rgba(245, 210, 138, 0.07);
    border-color: rgba(245, 210, 138, 0.55);
}
@media (max-width: 991px) {
    .cft-community-celebrations {
        padding: 25px;
    }
    #primary .entry-content .cft-community-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .cft-spring-history,
    .cft-community-celebrations {
        margin: 30px 0;
    }
    .cft-history-timeline {
        padding-left: 20px;
    }
    #primary .entry-content .cft-history-timeline > p {
        padding: 18px;
    }
    .cft-history-timeline > p::before {
        left: -28px;
    }
    .cft-community-celebrations {
        padding: 20px;
    }
    #primary .entry-content .cft-community-grid > li {
        padding: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cft-history-timeline > p,
    .cft-community-grid > li {
        transition: none;
    }
    #primary .entry-content .cft-community-grid > li:hover {
        transform: none;
    }
}
#primary .entry-content .cft-soft-panel {
    background: rgba(0, 0, 0, 0.45);
    padding: 30px;
    border: 1px solid rgba(245, 210, 138, 0.25);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
#primary .entry-content .cft-soft-panel > h2 {
    margin-top: 0;
}
#primary .entry-content .cft-soft-panel > p:last-child {
    margin-bottom: 0;
}
@media (max-width: 767px) {
    #primary .entry-content .cft-soft-panel {
        padding: 20px;
    }
}
#primary .entry-content .cft-qingming-festival {
    position: relative;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(
        135deg,
        rgba(25, 55, 43, 0.97),
        rgba(15, 30, 25, 0.97)
    );
    border: 1px solid rgba(130, 171, 145, 0.30);
    border-left: 4px solid #82ab91;
    border-radius: 8px;
}
#primary .entry-content .cft-qingming-festival > h2,
#primary .entry-content .cft-qingming-festival > h3 {
    color: #b6d5bd;
    margin-top: 0;
    margin-bottom: 20px;
}
#primary .entry-content .cft-qingming-festival > p {
    color: #ffffff;
}
#primary .entry-content .cft-qingming-festival > p:last-child {
    margin-bottom: 0;
}
@media (max-width: 767px) {
    #primary .entry-content .cft-qingming-festival {
        padding: 20px;
        margin: 30px 0;
    }
}
#secondary .widget_pages {
    background: rgba(25, 4, 4, 0.88);
    border: 1px solid rgba(218, 165, 92, 0.25);
    border-radius: 8px;
    padding: 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
#secondary .widget_pages .widget-title {
    color: #f5d28c;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(218, 165, 92, 0.25);
}
#secondary .widget_pages ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#secondary .widget_pages li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(218, 165, 92, 0.12);
}
#secondary .widget_pages li:last-child {
    border-bottom: none;
}
#secondary .widget_pages li a {
    display: block;
    position: relative;
    color: #f5e9d8;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    padding: 12px 8px 12px 20px;
    text-decoration: none;
    transition: all 0.25s ease;
}
#secondary .widget_pages li a::before {
    content: "\203A";
    position: absolute;
    left: 3px;
    top: 10px;
    color: #d9ad65;
    font-size: 18px;
}
#secondary .widget_pages li a:hover {
    color: #ffd78c;
    background: rgba(218, 165, 92, 0.07);
    padding-left: 25px;
    text-decoration: none;
}
#secondary .widget_pages li.current_page_item > a {
    color: #ffd78c;
    background: rgba(218, 165, 92, 0.1);
    border-radius: 4px;
    font-weight: 600;
}
#secondary .widget_pages ul.children {
    padding-left: 15px;
}
@media (max-width: 767px) {
    #secondary .widget_pages {
        padding: 18px;
    }
    #secondary .widget_pages li a {
        font-size: 15px;
    }
}