/* ============================================================
PrabhuYoga Zen Maroon Header Template – Event Display CSS
Add this to: Events Settings → Add HTML before event content
============================================================ */

/* Main Template Container */
.py-zen-maroon-yatsugatake,
.py-zen-maroon {
font-family: ‘Noto Serif JP’, ‘Yu Mincho’, ‘MS PMincho’, serif;
color: #2C2A26;
line-height: 2.2;
max-width: 100%;
margin: 0 auto;
background-color: #FDFBF7;
border: 1px solid #E8DFD0;
border-radius: 4px;
overflow: hidden;
position: relative;
box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* Color Variables */
:root {
–py-zen-ink: #2C2A26;
–py-zen-ink-light: #5A554D;
–py-zen-gold-primary: #D4AF37;
–py-zen-gold-light: #F3E5AB;
–py-zen-gold-dark: #AA8222;
–py-zen-bg: #FDFBF7;
–py-zen-border: #E8DFD0;
–py-zen-header-bg: #5A1220;
–py-zen-header-bg-gradient: linear-gradient(135deg, #6B1B2B 0%, #4A0E1A 100%);
}

/* Washi Texture */
.py-zen-maroon-yatsugatake::before,
.py-zen-maroon::before {
content: ”;
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background-image: url(‘data:image/svg+xml;utf8,‘);
pointer-events: none;
z-index: 0;
}

/* Header */
.py-header-zen {
position: relative;
padding: 80px 40px 60px;
text-align: center;
background: var(–py-zen-header-bg-gradient);
border-bottom: 3px solid var(–py-zen-gold-primary);
z-index: 1;
overflow: hidden;
}

.py-header-zen::before {
content: ”;
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 400px; height: 400px;
background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
border-radius: 50%;
z-index: -1;
}

.py-header-zen::after {
content: ”;
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 320px; height: 320px;
border: 1px solid rgba(212, 175, 55, 0.5);
border-radius: 50%;
z-index: -1;
box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.15);
}

/* Badge */
.py-badge-zen {
display: inline-block;
color: var(–py-zen-gold-light);
font-size: 0.9rem;
font-weight: 600;
letter-spacing: 4px;
margin-bottom: 30px;
position: relative;
text-transform: uppercase;
background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
padding: 5px 20px;
}

.py-badge-zen::before, .py-badge-zen::after {
content: ”;
position: absolute;
top: 50%;
width: 40px;
height: 1px;
background: linear-gradient(90deg, transparent, var(–py-zen-gold-primary), transparent);
}
.py-badge-zen::before { left: -40px; }
.py-badge-zen::after { right: -40px; }

/* Title */
.py-title-zen {
color: #FFFFFF;
font-size: clamp(1.8rem, 4vw, 2.6rem);
font-weight: 300;
margin: 0;
line-height: 1.5;
letter-spacing: 2px;
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.py-title-zen strong {
font-weight: 600;
display: block;
margin-top: 10px;
background: linear-gradient(45deg, var(–py-zen-gold-light), var(–py-zen-gold-primary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/* Subtitle */
.py-subtitle-zen {
color: var(–py-zen-gold-light);
font-size: clamp(1rem, 2vw, 1.2rem);
margin: 25px 0 0 0;
font-weight: 400;
letter-spacing: 3px;
opacity: 0.9;
}

/* Content Wrapper */
.py-content-wrapper {
padding: 60px clamp(20px, 6vw, 80px);
position: relative;
z-index: 1;
}

/* Intro Text */
.py-intro-text {
font-size: 1.1rem;
color: var(–py-zen-ink-light);
text-align: center;
max-width: 800px;
margin: 0 auto 70px;
font-weight: 300;
}

/* Vertical Text */
.py-vertical-text {
position: absolute;
right: 40px;
top: 100px;
writing-mode: vertical-rl;
text-orientation: upright;
color: rgba(212, 175, 55, 0.15);
font-size: 2.5rem;
font-weight: 900;
letter-spacing: 15px;
pointer-events: none;
user-select: none;
text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

/* Section Title */
.py-section-title {
color: var(–py-zen-ink);
font-size: 1.4rem;
font-weight: 400;
margin: 0 0 40px 0;
text-align: center;
letter-spacing: 2px;
position: relative;
}

.py-section-title::after {
content: ”;
display: block;
width: 60px;
height: 2px;
background: linear-gradient(90deg, transparent, var(–py-zen-gold-primary), transparent);
margin: 15px auto 0;
}

/* Feature Grid */
.py-feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 40px;
margin-bottom: 80px;
}

/* Feature Card */
.py-feature-card {
background: #FFFFFF;
padding: 40px 30px;
text-align: center;
position: relative;
border: 1px solid var(–py-zen-border);
box-shadow: 0 10px 30px rgba(212, 175, 55, 0.03);
transition: all 0.4s ease;
}

.py-feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(212, 175, 55, 0.08);
border-color: var(–py-zen-gold-light);
}

.py-feature-card::before, .py-feature-card::after {
content: ”;
position: absolute;
width: 20px; height: 20px;
border: 1px solid var(–py-zen-gold-primary);
transition: all 0.4s ease;
}
.py-feature-card::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.py-feature-card::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.py-feature-card:hover::before { top: 5px; left: 5px; }
.py-feature-card:hover::after { bottom: 5px; right: 5px; }

/* Card Title */
.py-card-title {
color: var(–py-zen-gold-dark);
font-size: 1.2rem;
font-weight: 600;
margin: 0 0 15px 0;
letter-spacing: 1px;
}

/* Card Text */
.py-card-text {
color: var(–py-zen-ink-light);
font-size: 0.95rem;
text-align: justify;
margin: 0;
font-weight: 300;
}

/* Highlight Banner */
.py-highlight-banner {
background: linear-gradient(135deg, #FFFFFF, #FDFBF7);
border: 1px solid var(–py-zen-gold-light);
padding: 50px 40px;
margin-bottom: 70px;
text-align: center;
position: relative;
box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.03);
}

.py-highlight-title {
color: var(–py-zen-gold-dark);
font-size: 1.3rem;
font-weight: 600;
margin: 0 0 20px 0;
letter-spacing: 1px;
}

.py-highlight-text {
color: var(–py-zen-ink-light);
font-size: 1rem;
margin: 0;
max-width: 700px;
margin: 0 auto;
font-weight: 300;
}

/* Info Table */
.py-info-table {
width: 100%;
border-collapse: collapse;
background: #FFFFFF;
margin-top: 20px;
border: 1px solid var(–py-zen-border);
}

.py-info-table th {
display: none;
}

.py-info-table td {
padding: 25px 20px;
border-bottom: 1px solid var(–py-zen-border);
font-size: 1rem;
color: var(–py-zen-ink-light);
font-weight: 300;
}

.py-info-table tr:last-child td {
border-bottom: none;
}

.py-info-table td:first-child {
width: 25%;
font-weight: 600;
color: var(–py-zen-gold-dark);
letter-spacing: 1px;
vertical-align: top;
background: rgba(212, 175, 55, 0.02);
border-right: 1px solid var(–py-zen-border);
}

/* Mobile Responsive */
@media (max-width: 768px) {
.py-header-zen { padding: 60px 20px 40px; }
.py-content-wrapper { padding: 40px 20px; }
.py-vertical-text { display: none; }
.py-highlight-banner { padding: 40px 20px; }
.py-feature-card { padding: 30px 20px; }

.py-info-table td {
display: block;
width: 100% !important;
padding: 15px 20px;
}
.py-info-table td:first-child {
border-right: none;
border-bottom: 1px dashed var(–py-zen-border);
}
}