/*
 * Semten Choling Redesign - customify theme UI overhaul
 * Based on semten-choling-modern design system
 * Only applies to front-page.php and page-light-offering.php standalone templates
 */

/* ============================================================
   CSS Variables & Base Reset
   ============================================================ */
:root {
    --zen-bg-color: #fdfbf7;
    --zen-text-color: #2c2c2c;
    --zen-primary: #800000;
    --zen-secondary: #d4af37;
    --zen-accent: #A0522D;
    --zen-border-radius: 4px;
    --zen-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Scoped to custom pages only */
.semten-redesign-page {
    background-color: var(--zen-bg-color);
    color: var(--zen-text-color);
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.semten-redesign-page * {
    box-sizing: border-box;
}

.semten-redesign-page a {
    color: var(--zen-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.semten-redesign-page a:hover {
    color: var(--zen-accent);
}

/* ============================================================
   CUSTOM HEADER
   ============================================================ */
.semten-site-header {
    position: sticky;
    top: 0;
    z-index: 999999;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    width: 100%;
}

.semten-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.semten-header-logo a {
    display: flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.semten-header-logo img {
    height: 55px;
    width: auto;
    max-height: 55px;
    display: block;
    border-radius: 8px;
}

/* Desktop Navigation */
.semten-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.semten-nav > li,
.semten-nav > .menu-item {
    position: relative;
    list-style: none;
}

.semten-nav > li > a,
.semten-nav > .menu-item > a {
    display: block;
    padding: 8px 14px;
    font-size: 20px;
    font-weight: 400;
    color: var(--zen-text-color);
    white-space: nowrap;
    transition: color 0.2s ease;
    border-bottom: none;
}

.semten-nav > li > a:hover,
.semten-nav > li:hover > a,
.semten-nav > .menu-item > a:hover,
.semten-nav > .menu-item:hover > a {
    color: var(--zen-primary);
    border-bottom: 1px dotted var(--zen-accent);
}

/* Dropdown arrows */
.semten-nav > li.has-submenu > a::after,
.semten-nav > .menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 20px !important;
    line-height: 1;
    vertical-align: middle;
    margin-left: 6px;
    opacity: 0.7;
}

/* Level 1 Dropdown */
.semten-nav .submenu,
.semten-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000001;
    list-style: none;
    margin: 0;
    pointer-events: none;
}

.semten-nav li:hover > .submenu,
.semten-nav li:focus-within > .submenu,
.semten-nav .menu-item:hover > .sub-menu,
.semten-nav .menu-item:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.semten-nav .submenu li,
.semten-nav .sub-menu .menu-item {
    position: relative;
    list-style: none;
}

.semten-nav .submenu li > a,
.semten-nav .sub-menu .menu-item > a {
    display: block;
    padding: 10px 22px;
    font-size: 0.88rem;
    color: var(--zen-text-color);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    border-bottom: none;
}

.semten-nav .submenu li > a:hover,
.semten-nav .sub-menu .menu-item > a:hover {
    background: rgba(128,0,0,0.05);
    color: var(--zen-primary);
}

/* Level 2 Dropdown (sub-submenu) */
.semten-nav .submenu .submenu,
.semten-nav .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.semten-nav .submenu li:hover > .submenu,
.semten-nav .sub-menu .menu-item:hover > .sub-menu {
    transform: none;
}

/* Submenu arrow indicator */
.semten-nav .submenu li.has-submenu > a::after,
.semten-nav .sub-menu .menu-item-has-children > a::after {
    content: ' ›';
    float: right;
    opacity: 0.5;
}

/* Mobile Hamburger */
.semten-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    /* 觸控友好：最小 44px */
    width: 44px;
    height: 44px;
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    box-shadow: none !important;
}

.semten-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--zen-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* 桌面端明確隱藏 */
@media (min-width: 901px) {
    .semten-menu-toggle {
        display: none !important;
    }
    .semten-mobile-nav {
        display: none !important;
        visibility: hidden !important;
    }
}

/* 移動端 */
@media (max-width: 900px) {
    .semten-nav { display: none; }
    .semten-menu-toggle {
        display: flex;
        background: transparent;
    }
    .semten-mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #ffffff;
        z-index: 9999999;
        overflow-y: auto;
        padding: 80px 24px 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .semten-mobile-nav.is-open {
        transform: translateX(0);
    }
}

.semten-mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    /* 觸控友好：最小 44px */
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--zen-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.semten-mobile-nav > ul > li,
.semten-mobile-nav > ul > .menu-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.semten-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--zen-text-color);
}

.semten-mobile-nav a:hover {
    color: var(--zen-primary);
}

.semten-mobile-nav .submenu,
.semten-mobile-nav .sub-menu {
    padding-left: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.semten-mobile-nav .submenu.is-open,
.semten-mobile-nav .sub-menu.is-open {
    max-height: 2000px;
}

.semten-mobile-nav .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
    color: var(--zen-primary);
    font-size: 1rem;
    user-select: none;
    min-width: 36px;
    min-height: 36px;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.semten-mobile-nav .submenu-toggle:hover {
    background: rgba(128,0,0,0.08);
}

.semten-mobile-nav .submenu-toggle.expanded {
    transform: rotate(180deg);
}

.semten-mobile-nav .sub-menu .sub-menu {
    padding-left: 12px;
    border-left: 2px solid rgba(128,0,0,0.15);
    margin-left: 8px;
}

/* ============================================================
   HERO SECTION (Homepage)
   ============================================================ */
.front-hero-section {
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center left !important;
    background-repeat: no-repeat !important;
}

.front-hero-section .hero-lotus-decoration {
    margin-bottom: 20px;
}

.front-hero-section .hero-title {
    font-family: "Noto Serif TC", "PingFang TC", serif;
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--zen-primary);
    text-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 10px rgba(255,255,255,0.5);
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.2;
}

.front-hero-section .hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.8;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 50px;
    color: var(--zen-text-color);
    text-shadow: 0 0 20px rgba(255,255,255,0.7);
}

.front-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.front-hero-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: 0.5px;
}

.front-hero-btn-primary {
    background-color: var(--zen-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(128,0,0,0.2);
}

.front-hero-btn-primary:hover {
    background-color: #600000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128,0,0,0.3);
    color: #ffffff !important;
}

.front-hero-btn-outline {
    background: transparent;
    color: var(--zen-primary) !important;
    border: 2px solid var(--zen-primary);
}

.front-hero-btn-outline:hover {
    background: var(--zen-primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128,0,0,0.25);
}

.hero-inner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 20px;
}

/* ============================================================
   LIGHT OFFERING CTA SECTION (Homepage)
   ============================================================ */
.front-light-offering-section {
    background: linear-gradient(135deg, #5a0000 0%, #800000 50%, #5a0000 100%);
    color: #ffffff;
    padding: 100px 20px;
    overflow: hidden;
    position: relative;
}

.front-light-offering-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.light-offering-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjAgMkwyMiAxOEwzOCAyMEwyMiAyMkwyMCAzOEwxOCAyMkwyIDIwTDE4IDE4TDIwIDJaIiBmaWxsPSIjZDRhZjM3IiBmaWxsLW9wYWNpdHk9IjAuMDMiLz48L3N2Zz4=');
    opacity: 0.5;
    pointer-events: none;
}

.lo-text-col { flex: 0 0 55%; }
.lo-visual-col { flex: 0 0 45%; display: flex; justify-content: center; }

.lo-section-label {
    color: #d4af37;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.lo-title {
    font-family: "Noto Serif TC", "PingFang TC", serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.lo-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #f0e6d3;
    margin-top: 24px;
    margin-bottom: 0;
}

.lo-benefits {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lo-benefits p {
    color: #e8dcc8;
    font-size: 1rem;
    margin: 0;
}

.lo-cta-btn {
    display: inline-block;
    margin-top: 36px;
    padding: 16px 36px;
    font-size: 1.15rem;
    font-weight: 600;
    background-color: #C5A059;
    color: var(--zen-primary) !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lo-cta-btn:hover {
    background-color: #d4b060;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212,175,55,0.3);
    color: var(--zen-primary) !important;
}

/* Lamp SVG animation */
.light-offering-visual {
    margin-left: 60px;
}

.zen-pulsate {
    animation: zenFlamePulsate 3s ease-in-out infinite;
}

@keyframes zenFlamePulsate {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.zen-primary-glow {
    filter: drop-shadow(0 0 15px rgba(128, 0, 0, 0.4));
}

/* ============================================================
   SUTRA SERIES SECTION
   ============================================================ */
.front-series-section {
    background-color: #fdfbf7;
    padding: 80px 20px;
}

.front-series-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(128,0,0,0.1);
    padding-bottom: 20px;
    margin-bottom: 50px;
}

.section-header-row h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--zen-primary);
    margin: 0;
}

.section-header-row .view-all-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--zen-primary);
}

.series-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.series-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    text-align: center;
    border: 1px solid #f0ede9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.series-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06) !important;
    border-color: #d4af37 !important;
}

.card-icon-wrapper {
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 80px;
    background: #fdfbf7;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.series-card:hover .card-icon-wrapper {
    background: #fff9eb;
}

.series-card:hover .card-icon-wrapper svg {
    stroke: #d4af37;
}

.series-card h3 {
    font-size: 1.4rem;
    color: var(--zen-primary);
    margin-bottom: 15px;
}

.series-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.series-card-btn {
    display: inline-block;
    padding: 10px 28px;
    background-color: var(--zen-primary);
    color: #ffffff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.series-card-btn:hover {
    background-color: #bfa030;
    transform: scale(1.05);
    color: #ffffff !important;
}

/* ============================================================
   FEATURED LECTURES SECTION
   ============================================================ */
.front-featured-section {
    background-color: #ffffff;
    padding: 80px 20px;
}

.front-featured-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.lectures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 0;
}

.lecture-grid-card {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 4px 8px rgba(0,0,0,0.03), 0 12px 24px rgba(0,0,0,0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 340px;
}

.lecture-grid-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--zen-primary) 0%, var(--zen-accent) 50%, var(--zen-secondary) 100%);
    opacity: 0.85;
    transition: opacity 0.4s ease, height 0.3s ease;
}

.lecture-grid-card:hover::before {
    opacity: 1;
    height: 4px;
}

.lecture-grid-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 12px 24px rgba(0,0,0,0.06), 0 24px 48px rgba(128,0,0,0.08);
    border-color: rgba(128,0,0,0.15);
}

.lecture-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.lecture-grid-card:hover .lecture-card-img {
    transform: scale(1.08);
}

.lecture-card-img-wrapper {
    overflow: hidden;
}

.lecture-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.lecture-card-series {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--zen-accent);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.lecture-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
    color: #2c2c2c;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.35s ease;
    word-break: break-word;
    white-space: normal;
}

.lecture-grid-card:hover .lecture-card-title {
    color: var(--zen-primary);
}

.lecture-card-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    flex: 1;
    min-height: 4.8em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lecture-card-date {
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* No featured image placeholder */
.lecture-card-no-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--zen-primary) 0%, #a02020 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lecture-card-no-img span {
    color: rgba(255,255,255,0.4);
    font-size: 3rem;
}

/* ============================================================
   QUICK LINKS SECTION
   ============================================================ */
.front-quick-links-section {
    background-color: #ffffff;
    padding: 80px 20px;
}

.front-quick-links-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 0;
}

.quick-link-card {
    background-color: #fdfbf7;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: rgba(212,175,55,0.3);
}

.quick-link-icon {
    margin-bottom: 0;
}

.quick-link-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-top: 16px;
    margin-bottom: 8px;
}

.quick-link-card .ql-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
}

.quick-link-card .ql-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--zen-primary);
}

/* ============================================================
   ABOUT MASTER SECTION
   ============================================================ */
.front-about-section {
    background-color: var(--zen-bg-color);
    padding: 100px 20px;
}

.front-about-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text-col { flex: 0 0 50%; }
.about-img-col { flex: 0 0 50%; }

.about-text-col h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--zen-primary);
    margin-bottom: 30px;
    margin-top: 0;
}

.about-text-col p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--zen-text-color);
    margin-top: 0;
}

.about-text-col p + p {
    margin-top: 20px;
}

.about-outline-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 28px;
    border: 2px solid var(--zen-primary);
    border-radius: 4px;
    color: var(--zen-primary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-outline-btn:hover {
    background: var(--zen-primary);
    color: #ffffff !important;
}

.about-master-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

/* ============================================================
   CUSTOM FOOTER
   ============================================================ */
.semten-site-footer {
    background-color: var(--zen-primary);
    color: #fdfbf7;
    padding: 60px 20px;
    margin-top: 0;
}

.semten-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.semten-footer-cols {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.semten-footer-col-brand {
    flex: 0 0 40%;
}

.semten-footer-col {
    flex: 0 0 30%;
}

.semten-footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.semten-footer-logo-row img {
    height: 50px;
    width: auto;
    border-radius: 6px;
}

.semten-footer-site-name {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.semten-footer-site-name span:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fdfbf7;
}

.semten-footer-site-name span:last-child {
    font-size: 0.85rem;
    color: #d4af37;
}

.semten-footer-tagline {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #f0f0f0;
    margin: 0;
}

.semten-footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--zen-secondary);
    margin-bottom: 16px;
    margin-top: 0;
}

.semten-footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.semten-footer-nav a {
    font-size: 0.9rem;
    color: #f0f0f0;
    transition: color 0.2s ease;
}

.semten-footer-nav a:hover {
    color: var(--zen-secondary);
}

.semten-footer-contact-email {
    font-size: 0.9rem;
    color: #f0f0f0;
    margin: 0 0 20px 0;
}

.semten-footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.semten-footer-social h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--zen-secondary);
    margin-bottom: 8px;
    margin-top: 0;
}

.semten-footer-social .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.semten-footer-social a {
    color: #fdfbf7;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.semten-footer-social a:hover {
    border-color: var(--zen-secondary);
    color: var(--zen-secondary);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.semten-footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.semten-footer-copyright p {
    font-size: 0.85rem;
    color: #cccccc;
    margin: 0;
}

/* ============================================================
   LIGHT OFFERING PAGE — DARK THEME
   ============================================================ */
.light-offering-page-container.dark-theme {
    background-color: #1a0505;
    background-image:
        radial-gradient(circle at 50% 0%, #2b0a0a 0%, #1a0505 60%),
        radial-gradient(circle at 85% 30%, rgba(212,175,55,0.03) 0%, transparent 30%),
        radial-gradient(circle at 15% 70%, rgba(212,175,55,0.02) 0%, transparent 30%);
    min-height: 100vh;
    color: #e0e0e0;
    overflow-x: hidden;
    max-width: 100vw;
}

.light-offering-page-container h1,
.light-offering-page-container h2,
.light-offering-page-container h3 {
    color: #fff;
    text-shadow: none;
}

.light-offering-page-container h2 {
    color: #d4af37 !important;
}

/* Hero Section */
.light-offering-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 7.5;
    min-height: 400px;
    background: linear-gradient(180deg, rgba(90,0,0,0.3) 0%, rgba(128,0,0,0.2) 50%, rgba(90,0,0,0.4) 100%);
}

.hero-video-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-video-wrapper video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.hero-video-overlay-dark {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26,5,5,0.55);
    backdrop-filter: blur(1px);
}

.hero-video-overlay-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26,5,5,0.6) 0%,
        rgba(26,5,5,0.2) 30%,
        rgba(26,5,5,0.1) 50%,
        rgba(26,5,5,0.5) 100%
    );
}

.hero-content-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0 30px 0;
    box-sizing: border-box;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: min(800px, calc(100% - 48px));
    max-width: 800px;
    padding: 0 24px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(212,175,55,0.9);
    margin-bottom: 16px;
}

.lo-hero-title {
    font-family: "Noto Serif TC", "PingFang TC", serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: 8px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.8), transparent);
    margin: 0 auto 24px auto;
}

.lo-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    margin: 0 0 32px 0;
    letter-spacing: 2px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none !important;
    border-radius: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #bfa030 100%);
    color: #1a0505 !important;
    box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.5);
    filter: brightness(1.1);
}

.hero-btn-secondary {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* Sound Toggle Button */
#video-sound-toggle {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

#video-sound-toggle svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

#video-sound-toggle svg path,
#video-sound-toggle svg line {
    stroke: currentColor;
}

#video-sound-toggle:hover {
    background: rgba(0,0,0,0.7);
    border-color: rgba(255,255,255,0.5);
}

#video-sound-toggle:hover svg {
    color: #d4af37;
}

/* Introduction Section */
.light-offering-intro {
    background: linear-gradient(180deg, #faf8f5 0%, #f5f2ed 100%);
    padding: 100px 20px 120px;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(160,82,45,0.6);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: "Noto Serif TC", "PingFang TC", serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: #800000;
    margin: 0 0 20px 0;
    letter-spacing: 6px;
}

.section-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto;
}

.intro-content { margin-bottom: 60px; }

.intro-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: #4a4a4a;
    line-height: 2;
    text-align: center;
    margin: 0 0 20px 0;
}

.intro-features {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0,0,0,0.02);
    border-radius: 12px;
    border: 1px solid rgba(139,90,43,0.2);
    text-align: left;
}

.intro-features-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: #d4af37;
    margin: 0 0 20px 0;
}

.intro-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.intro-features-list li {
    font-size: 1rem;
    font-weight: 300;
    color: #3a3a3a;
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
}

.intro-features-list li::before {
    content: '🪔';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}

.intro-notice {
    margin-top: 40px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(139,90,43,0.06) 0%, rgba(139,90,43,0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(139,90,43,0.25);
    text-align: left;
}

.intro-notice-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #d4af37;
    margin: 0 0 12px 0;
}

.intro-notice-text {
    font-size: 1rem;
    font-weight: 300;
    color: #3a3a3a;
    line-height: 1.8;
    margin: 0;
}

.intro-form-section {
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Merit Board Section */
.merit-board-section-wrapper {
    padding: 64px 8px 80px;
    background-color: #1a0505;
    background-image:
        radial-gradient(circle at 50% 0%, #2b0a0a 0%, #1a0505 60%),
        radial-gradient(circle at 85% 30%, rgba(212,175,55,0.03) 0%, transparent 30%);
    width: 100%;
}

/* Form styles (rendered by plugin) */
.light-offering-page-container .form-wrapper {
    background: #ffffff !important;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: none;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .light-offering-page-container .form-wrapper {
        padding: 32px 24px;
        border-radius: 16px;
    }
}

/* 下拉菜單樣式優化 - 淺色主題 */
.light-offering-page-container .form-wrapper select,
.light-offering-page-container .light-offering-form select,
.light-offering-form-section .form-wrapper select {
    width: 100% !important;
    padding: 16px 20px !important;
    font-size: 1rem !important;
    color: #2c2c2c !important;
    background: #fcfbf9 !important;
    border: 1.5px solid #e0d8cc !important;
    border-radius: 12px !important;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px !important;
    cursor: pointer;
    line-height: 1.4 !important;
    text-overflow: ellipsis;
}

/* 下拉菜單展開選項樣式 */
.light-offering-page-container .form-wrapper select option,
.light-offering-page-container .light-offering-form select option {
    background: #ffffff !important;
    color: #2c2c2c !important;
    padding: 12px 16px !important;
}

.light-offering-page-container .form-wrapper select:focus,
.light-offering-form-section .form-wrapper select:focus {
    outline: none !important;
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
@media (max-width: 900px) {
    .hero-inner-content {
        padding: 80px 20px;
    }

    .front-hero-section .hero-title {
        font-size: 2.5rem !important;
    }

    .front-hero-section .hero-subtitle {
        font-size: 1.1rem !important;
        color: #ffffff;
        text-shadow: 0 2px 6px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.3);
        font-weight: 500;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .front-hero-btn-outline {
        background: rgba(255,255,255,0.95) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }

    .front-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .front-light-offering-section .section-inner {
        flex-direction: column;
        gap: 40px;
    }

    .lo-text-col, .lo-visual-col { flex: none; width: 100%; }
    .light-offering-visual { margin-left: 0; }

    .lo-title { font-size: 1.8rem !important; }

    .series-cards-grid { grid-template-columns: 1fr; }

    .lectures-grid { grid-template-columns: 1fr; }

    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }

    .front-about-section .section-inner {
        flex-direction: column;
        gap: 40px;
    }
    .about-text-col, .about-img-col { width: 100%; flex: none; }

    .semten-footer-cols { flex-direction: column; gap: 30px; }
    .semten-footer-col-brand, .semten-footer-col { flex: none; width: 100%; }

    .light-offering-hero {
        aspect-ratio: 16 / 12;
        min-height: 500px;
    }

    .hero-content-wrapper {
        padding: 0 0 92px 0;
    }

    .lo-hero-title {
        font-size: 2.5rem !important;
        letter-spacing: 4px !important;
    }

    .light-offering-intro {
        padding: 60px 20px 80px;
    }

    .section-header { margin-bottom: 40px; }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: min(320px, 100%);
    }
}

@media (max-width: 600px) {
    .series-card { padding: 24px 20px; }
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .quick-link-card { padding: 20px 12px; }
}

/* 超小屏 (320px - 380px) */
@media (max-width: 380px) {
    .front-hero-section .hero-title {
        font-size: 1.9rem !important;
        letter-spacing: 0 !important;
    }
    .front-hero-section .hero-subtitle {
        font-size: 0.95rem !important;
    }
    .hero-inner-content {
        padding: 60px 16px !important;
    }
    .front-hero-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    .semten-header-logo img {
        height: 44px;
    }
    .lecture-grid-card {
        height: auto;
        min-height: 300px;
    }
}

/* ============================================================
   GENERAL PAGE TEMPLATE (page.php)
   統一設計系統：與首頁、網上供燈保持一致
   ============================================================ */

/* 強制隱藏所有側邊欄 */
#secondary,
#sidebar,
.widget-area,
.site-sidebar {
    display: none !important;
}

/* 頁面頂部區域 */
.page-header-section {
    background: linear-gradient(180deg, #faf8f5 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(128, 0, 0, 0.08);
    padding: 60px 0 40px;
}

.page-header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.semten-redesign-page .page-main-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #8B0000;
    letter-spacing: 4px;
    margin: 16px 0 0;
    line-height: 1.4;
    text-align: center;
}

/* 統一麵包屑導航 - 與設計文檔同步 */
.semten-breadcrumb {
    font-size: 1rem;
    color: #8B0000;
    margin-bottom: 1.5rem;
    padding: 14px 24px;
    background-color: #FAF9F6;
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 4px;
    text-align: left !important;
    letter-spacing: 0;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.semten-breadcrumb * {
    text-align: left !important;
}

.semten-breadcrumb a {
    color: #8B0000;
    text-decoration: none;
    font-weight: 500;
}

.semten-breadcrumb a:hover {
    color: #8B0000;
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 10px;
    color: #8B0000;
    opacity: 1;
}

.semten-breadcrumb span {
    color: #8B0000;
    font-weight: 600;
}

/* 頁面內容區域 */
.page-content-section {
    padding: 60px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
}

.page-content-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 頁面內容區域鏈接樣式 - 取消下劃線 */
.page-entry-content a,
.page-article a,
.entry-content a,
.semten-redesign-page .page-entry-content a,
.semten-redesign-page .page-article a,
.semten-redesign-page .entry-content a,
.semten-redesign-page .page-content-section a,
.semten-redesign-page article a {
    color: #8B0000;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.page-entry-content a:hover,
.page-article a:hover,
.entry-content a:hover,
.semten-redesign-page .page-entry-content a:hover,
.semten-redesign-page .page-article a:hover,
.semten-redesign-page .entry-content a:hover,
.semten-redesign-page .page-content-section a:hover,
.semten-redesign-page article a:hover {
    color: #A0522D;
}

/* 統一的文章卡片樣式 */
.page-article {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 56px 64px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(128, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .page-header-section {
        padding: 40px 0 32px;
    }
    
    .semten-redesign-page .page-main-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .page-article {
        padding: 32px 24px 48px;
        border-radius: 16px;
    }
    
    .page-content-section {
        padding: 40px 0 80px;
    }
}

.page-featured-image {
    margin-bottom: 36px;
}

.page-featured-image .page-feat-img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 統一內容樣式 */
.page-entry-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

.page-entry-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #8B0000;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    letter-spacing: 2px;
}

.page-entry-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin: 28px 0 12px;
}

.page-entry-content p {
    margin-bottom: 1.2em;
    text-align: justify;
}

.page-entry-content a {
    color: #8B0000;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.page-entry-content a:hover {
    color: var(--zen-secondary);
}

.page-entry-content ul,
.page-entry-content ol {
    padding-left: 24px;
    margin-bottom: 1.2em;
}

.page-entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.page-entry-content blockquote {
    border-left: 3px solid var(--zen-secondary);
    margin: 24px 0;
    padding: 12px 20px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 8px 8px 0;
}

.page-entry-content img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
}

/* ============================================================
   LECTURE ARCHIVE TEMPLATE (archive-lecture.php)
   ============================================================ */
.archive-content-section {
    padding: 60px 0 100px;
    background: var(--zen-bg-color);
}

.archive-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Series Categories Grid - 引導型分類卡片 */
.series-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .series-categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.series-category-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
    border: 1px solid rgba(139, 0, 0, 0.15);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.series-category-card:hover {
    border-color: rgba(139, 0, 0, 0.3);
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.1);
    transform: translateY(-4px);
}

.series-card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B0000 0%, #6B0000 100%);
    border-radius: 50%;
    font-size: 28px;
}

.series-card-content {
    flex: 1;
}

.series-card-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #8B0000;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.series-card-desc {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.series-card-count {
    display: none !important; /* 隱藏數目顯示 */
    padding: 4px 12px;
    background: rgba(212, 175, 55, 0.15);
    color: #b8960f;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
}

.series-card-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 0, 0, 0.08);
    border-radius: 50%;
    color: #8B0000;
    transition: all 0.3s ease;
}

.series-category-card:hover .series-card-arrow {
    background: #8B0000;
    color: #fff;
}

.lectures-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .lectures-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .lectures-archive-grid { grid-template-columns: 1fr; }
}

.archive-pagination .page-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers li a,
.archive-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(128, 0, 0, 0.2);
    border-radius: 6px;
    color: var(--zen-text-color);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.archive-pagination .page-numbers li a:hover {
    background: var(--zen-primary);
    color: #fff;
    border-color: var(--zen-primary);
}

.archive-pagination .page-numbers li .current {
    background: var(--zen-primary);
    color: #fff;
    border-color: var(--zen-primary);
}

.no-posts-found {
    text-align: center;
    padding: 80px 0;
    color: #888;
    font-size: 1.1rem;
}

/* ============================================================
   SINGLE LECTURE TEMPLATE (single-lecture.php)
   ============================================================ */
.single-lecture-header {
    background: #fff;
    border-bottom: 1px solid rgba(128, 0, 0, 0.1);
    padding: 50px 0 28px;
}

.lecture-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.single-lecture-series {
    margin: 20px 0 12px;
}

.series-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(160, 82, 45, 0.1);
    color: var(--zen-accent);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.single-lecture-title {
    font-size: clamp(1.6rem, 2.8vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    line-height: 1.3;
    color: var(--zen-text-color);
}

.single-lecture-date {
    font-size: 0.95rem;
    color: #777;
    margin: 0;
}

/* Lecture card container: sidebar + content */
.lecture-card-container {
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 100px;
    align-items: flex-start;
}

/* Tools Sidebar */
.lecture-tools-sidebar {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 94px;
}

.lecture-tools-inner {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.font-size-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.font-size-control .label {
    font-size: 0.8rem;
    color: #888;
    width: 100%;
}

.font-size-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    /* 觸控友好：最小 44px */
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.font-size-btn:hover {
    background: var(--zen-primary);
    color: #fff;
    border-color: var(--zen-primary);
}

.toc-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

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

.lecture-toc-list li {
    margin-bottom: 4px;
}

.lecture-toc-list li a {
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    line-height: 1.5;
    display: block;
    padding: 2px 0;
    border-left: 2px solid transparent;
    padding-left: 8px;
    transition: all 0.2s;
}

.lecture-toc-list li a:hover {
    color: var(--zen-primary);
    border-left-color: var(--zen-primary);
}

/* Lecture Content Card */
.lecture-card {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 12px;
    padding: 48px 52px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
    .lecture-card-container { flex-direction: column; }
    .lecture-tools-sidebar { width: 100%; position: relative; top: 0; }
    .lecture-tools-inner { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
    .lecture-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .lecture-tools-inner { flex-direction: column; gap: 16px; }
    .single-lecture-nav { flex-direction: column; gap: 16px; }
    .lecture-nav-next { text-align: left; }
    .single-lecture-header { padding: 30px 0 20px; }
}

.lecture-featured-image { margin-bottom: 36px; }

.lecture-featured-image .lecture-feat-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.lecture-entry-content {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #333;
}

.lecture-entry-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--zen-primary);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(128, 0, 0, 0.1);
}

.lecture-entry-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.lecture-entry-content p { margin-bottom: 1.2em; }

.lecture-entry-content blockquote {
    border-left: 3px solid var(--zen-secondary);
    margin: 24px 0;
    padding: 12px 20px;
    background: rgba(212, 175, 55, 0.05);
    font-style: italic;
    color: #555;
}

/* Prev/Next Navigation in Lecture */
.single-lecture-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid #eee;
    margin-top: 60px;
    padding-top: 40px;
    gap: 20px;
}

/* H2 講義導航標題：保留 HTML 結構供 SEO，視覺上與導航區域融合 */
.lecture-nav-heading {
    width: 100%;
    font-size: 0.85rem;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 8px;
    padding: 0;
}

.lecture-nav-prev,
.lecture-nav-next {
    flex: 1;
}

.lecture-nav-next { text-align: right; }

.lecture-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.lecture-nav-link:hover .nav-title {
    color: var(--zen-primary);
}

.nav-arrow { color: #aaa; font-size: 1.1rem; }

.nav-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-title {
    font-size: 0.95rem;
    color: var(--zen-text-color);
    font-weight: 500;
    transition: color 0.2s;
}

/* ============================================================
   LIGHT OFFERING PAGE — MODERN UI (from semten-choling-modern)
   ============================================================ */

/* Hero background image fallback (when video.mp4 is unavailable) */
.light-offering-hero {
    background-image: url('/wp-content/themes/semten-choling-modern/assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero section — prevent overflow */
.light-offering-hero {
    overflow: hidden !important;
    max-width: 100vw !important;
}

.light-offering-hero * {
    max-width: 100% !important;
}

/* Ensure all titles in dark mode are white/gold */
.light-offering-page-container h1,
.light-offering-page-container h2,
.light-offering-page-container h3 {
    color: #fff !important;
    text-shadow: none !important;
}

.light-offering-page-container h2 {
    color: #d4af37 !important;
    border-bottom-color: rgba(212, 175, 55, 0.2) !important;
}

/* Remove plugin default form background so it sits on the white form-wrapper */
.light-offering-page-container .light-offering-form,
.dark-theme .light-offering-form-section .light-offering-form,
.light-offering-page-container.dark-theme .light-offering-form {
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Plugin #blo-form-wrap — 僧袍紅背景現代表單 */
#blo-form-wrap {
    background: #800000;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(128, 0, 0, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.3);
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* 淺色主題表單卡片樣式覆蓋 */
.intro-form-section #blo-form-wrap {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    padding: 40px;
}

@media (max-width: 600px) {
    .intro-form-section #blo-form-wrap {
        padding: 32px 24px !important;
    }
}

/* 表單標題 */
#blo-form-wrap .form-header {
    text-align: center;
    margin-bottom: 32px;
}

#blo-form-wrap .form-title {
    font-family: "Noto Serif TC", serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #d4af37;
    letter-spacing: 4px;
    margin: 0 0 8px 0;
}

#blo-form-wrap .form-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.6);
    margin: 0;
}

/* Plugin #blo-container overrides */
#blo-container {
    max-width: 100%;
    margin: 0;
    text-align: center;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* Form label styles — 白色文字在僧袍紅底上 */
.light-offering-form-section .form-field label,
.dark-theme .light-offering-form-section .form-field label,
#blo-form-wrap label,
#blo-form label {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 400 !important;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px !important;
    display: block !important;
}

/* 淺色主題標籤樣式覆蓋 */
.intro-form-section #blo-form label {
    color: #4a3a2a !important;
    font-weight: 500 !important;
}

/* Input and select styles — 深色輸入框 */
.light-offering-form-section .form-field input,
.light-offering-form-section .form-field select,
.dark-theme .light-offering-form-section .form-field input,
.dark-theme .light-offering-form-section .form-field select,
#blo-form input,
#blo-form select {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    width: 100% !important;
    font-size: 1rem !important;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.3s ease;
    white-space: normal !important;
    line-height: 1.4 !important;
}

/* 淺色主題表單樣式覆蓋 */
.intro-form-section #blo-form input,
.intro-form-section #blo-form select {
    background: #fcfbf9 !important;
    border: 1.5px solid #e0d8cc !important;
    color: #2c2c2c !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-indent: 0 !important;
}

/* 強制覆蓋 select 文字顏色 - 使用最高優先級 */
.intro-form-section select#blo-lamp-type {
    color: #2c2c2c !important;
    -webkit-text-fill-color: #2c2c2c !important;
    opacity: 1 !important;
    background-color: #fcfbf9 !important;
}

.intro-form-section #blo-form select option {
    background: #ffffff !important;
    color: #2c2c2c !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    white-space: normal !important;
}

/* 下拉菜單選項樣式 */
#blo-form select option {
    background: rgba(0, 0, 0, 0.8) !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
}

/* Select arrow icon for better visibility */
#blo-form select {
    cursor: pointer;
}

#blo-form input::placeholder,
#blo-form select::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* 淺色主題 placeholder 覆蓋 */
.intro-form-section #blo-form input::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

#blo-form input:focus,
#blo-form select:focus {
    outline: none !important;
    border-color: rgba(212, 175, 55, 0.6) !important;
    background: rgba(0, 0, 0, 0.4) !important;
}

/* Submit button — 金色漸變在僧袍紅底上更突出 */
.light-offering-form-section .submit-button,
#blo-form button {
    background: linear-gradient(135deg, #d4af37 0%, #c9a432 100%) !important;
    color: #1a0505 !important;
    padding: 16px 32px !important;
    border-radius: 100px !important;
    border: none !important;
    font-weight: 600 !important;
    letter-spacing: 4px !important;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35) !important;
    transition: all 0.4s ease !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer;
    font-size: 1rem !important;
    font-family: inherit;
    margin-top: 8px;
}

/* 淺色主題按鈕樣式 */
.intro-form-section #blo-form button {
    padding: 14px 28px !important;
    letter-spacing: 6px !important;
}

.light-offering-form-section .submit-button:hover,
#blo-form button:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 32px rgba(212, 175, 55, 0.5) !important;
    filter: brightness(1.08) !important;
}

#blo-form button:disabled {
    background: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    cursor: not-allowed;
}

/* Form note */
.light-offering-form-section .form-note,
.dark-theme .form-note,
.light-offering-page-container.dark-theme .form-note,
#blo-form-wrap .form-note {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 20px;
    letter-spacing: 1px;
}

/* Introduction Section */
.light-offering-intro {
    background: linear-gradient(180deg, #faf8f5 0%, #f5f2ed 100%);
    padding: 100px 0 120px;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(160, 82, 45, 0.6);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: 'Noto Serif TC', 'PingFang TC', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: #800000;
    margin: 0 0 20px 0;
    letter-spacing: 6px;
}

.section-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto;
}

.intro-content {
    margin-bottom: 60px;
}

.intro-text {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: #4a4a4a;
    line-height: 2;
    text-align: center;
    margin: 0 0 20px 0;
}

.intro-text:last-child {
    margin-bottom: 0;
}

.intro-features {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(139, 90, 43, 0.2);
    text-align: left;
}

.intro-features-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #d4af37;
    margin: 0 0 20px 0;
    text-align: left;
}

.intro-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.intro-features-list li {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #3a3a3a;
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
}

.intro-features-list li:last-child {
    margin-bottom: 0;
}

.intro-features-list li::before {
    content: '\1FA94';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}

.intro-notice {
    margin-top: 40px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(139, 90, 43, 0.06) 0%, rgba(139, 90, 43, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(139, 90, 43, 0.25);
    text-align: left;
}

.intro-notice-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #d4af37;
    margin: 0 0 12px 0;
}

.intro-notice-text {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #3a3a3a;
    line-height: 1.8;
    margin: 0;
}

.intro-form-section {
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .intro-form-section {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Merit Board 區域內的 [lamp_offering] 只顯示卡片，隱藏表單 */
.merit-board-section-wrapper #blo-form-wrap {
    display: none !important;
}

/* Merit Board — 僧袍紅背景 + 1:1 正方形卡片 */
.merit-board-section-wrapper {
    padding: 64px 0 80px;
    background-color: #800000;
    background-image:
        radial-gradient(circle at 50% 0%, #600000 0%, #310d0d 60%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 30%);
    width: 100%;
}

/* 功德芳名標題 */
.merit-board-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 24px;
}

.merit-board-title {
    font-family: "Noto Serif TC", serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400;
    color: #d4af37;
    letter-spacing: 6px;
    margin: 0 0 12px 0;
}

.merit-board-count {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

/* Plugin grid override — 全寬顯示 */
.blo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .blo-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .blo-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .blo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
}

/* Individual lamp card — 僧袍紅底 + 1:1 正方形 */
.blo-item {
    aspect-ratio: 1 / 1 !important;
    padding: 12px 8px 10px;
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 頂部金色微光 */
.blo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.blo-item:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.15) !important;
    background: rgba(0, 0, 0, 0.35) !important;
}

.blo-item:hover::before {
    opacity: 1;
}

/* 點亮狀態 */
.blo-item.is-on {
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

/* 燈光圖片 */
.blo-item img {
    width: 55%;
    max-width: 80px;
    height: auto;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.blo-item.is-on img {
    animation: blo-glow 3s infinite ease-in-out;
    filter: drop-shadow(0 2px 10px rgba(255, 160, 50, 0.5));
}

@keyframes blo-glow {
    0%, 100% { filter: drop-shadow(0 0 4px #ffcc00) brightness(1); transform: scale(1); }
    50% { filter: drop-shadow(0 0 16px #ffcc00) brightness(1.2); transform: scale(1.04); }
}

/* 祈願文字 */
.blo-type {
    font-size: 0.7rem !important;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: center;
    line-height: 1.35;
    position: relative;
    z-index: 2;
    padding: 0 6px;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 未點亮 — 暗化 */
.blo-item:not(.is-on) {
    opacity: 0.35;
}

.blo-item:not(.is-on) img {
    filter: grayscale(1) brightness(0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .light-offering-intro {
        padding: 60px 0 80px !important;
    }

    .intro-container {
        padding: 0 16px !important;
    }

    .section-header {
        margin-bottom: 40px !important;
    }

    .section-title {
        font-size: 1.5rem !important;
        letter-spacing: 3px !important;
    }

    .intro-features {
        padding: 24px 20px !important;
        margin-top: 30px !important;
    }

    .intro-notice {
        padding: 20px !important;
        margin-top: 30px !important;
    }

    .intro-form-section {
        margin-top: 30px !important;
    }

    #blo-form-wrap {
        padding: 32px 20px !important;
        border-radius: 20px !important;
    }

    .blo-item {
        border-radius: 12px !important;
    }

    .blo-item img {
        max-width: 60px;
    }

    .blo-type {
        font-size: 0.65rem !important;
    }

    .merit-board-section-wrapper {
        padding: 40px 0 60px;
    }

    .merit-board-title {
        font-size: 1.5rem !important;
    }
}

/* ============================================
   表單響應式佈局優化
   ============================================ */

/* 輸入框 placeholder 樣式 */
#blo-user-name::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}
#blo-user-name::-webkit-input-placeholder {
    color: #888 !important;
    opacity: 1 !important;
}
#blo-user-name::-moz-placeholder {
    color: #888 !important;
    opacity: 1 !important;
}
#blo-user-name:-ms-input-placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

/* 手機端：單列垂直排列 */
#blo-lamp-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* PC 端：2-3 列網格佈局 */
@media (min-width: 768px) {
    #blo-lamp-options {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    .blo-lamp-option {
        height: 100% !important;
        min-height: 80px !important;
        align-items: center !important;
    }
}

@media (min-width: 1024px) {
    #blo-lamp-options {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 600px) {
    .intro-form-section #blo-form-wrap {
        padding: 32px 20px !important;
        border-radius: 20px !important;
    }
    
    .intro-form-section #blo-form input,
    .intro-form-section #blo-form button {
        font-size: 16px !important;
    }
    
    .intro-form-section #blo-lamp-options label {
        padding: 14px 12px !important;
    }
    
    .intro-form-section #blo-lamp-options label span {
        font-size: 14px !important;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .intro-form-section #blo-form-wrap {
        padding: 36px 28px !important;
    }
}

@media (min-width: 901px) {
    .intro-form-section #blo-form-wrap {
        padding: 48px 40px !important;
    }
}