#religion-accordion {
position: relative;
z-index: 1000;
background: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
border: 1px solid #e5e7eb;
transition: all 0.3s ease;
height: fit-content;
max-height: 85vh;
overflow-y: auto;
overflow-x: hidden;
min-width: 260px;
}
#religion-accordion.active {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.religion-menu {
list-style: none;
margin: 0;
padding: 0.75rem;
} @media (min-width: 769px) {
#religion-accordion {
width: 300px;
min-width: 260px;
}
}
@media (max-width: 768px) {
#religion-accordion {
width: min(300px, 90vw);
}
}  .religion-item {
position: relative;
margin-bottom: 0.375rem;
border-radius: 6px;
background: #ffffff;
border: 1px solid #f3f4f6;
overflow: hidden;
transition: all 0.2s ease;
padding: 0.5rem 0.75rem;
animation: fadeInUp 0.4s ease forwards;
opacity: 0;
transform: translateY(8px);
}
.religion-item:nth-child(1) { animation-delay: 0.05s; }
.religion-item:nth-child(2) { animation-delay: 0.1s; }
.religion-item:nth-child(3) { animation-delay: 0.15s; }
.religion-item:nth-child(4) { animation-delay: 0.2s; }
.religion-item:hover {
transform: translateY(-1px);
border-color: rgba(var(--color-sky-base-rgb), 0.2);
box-shadow: 0 2px 8px rgba(var(--color-sky-base-rgb), 0.08);
} .sub-religions > .religion-item {
padding: 0.4375rem 0.625rem;
padding-left: 1.25rem;
border-radius: 5px;
background: #f9fafb;
margin-bottom: 0.25rem;
border: 1px solid #f1f5f9;
} .sub-religions .sub-religions > .religion-item {
padding: 0.375rem 0.5rem;
padding-left: 1rem;
font-size: 0.9em;
border-radius: 4px;
margin-bottom: 0.125rem;
} .sub-religions .sub-religions .sub-religions > .religion-item {
padding: 0.3125rem 0.375rem;
padding-left: 0.75rem;
font-size: 0.85em;
border-radius: 3px;
margin-bottom: 0.0625rem;
}  .religion-icon {
width: 36px;
height: 36px;
margin-right: 0.5rem;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(var(--color-sky-base-rgb), 0.08);
border-radius: 100%;
padding: 0; border: 1px solid rgba(var(--color-sky-base-rgb), 0.12);
transition: all 0.25s ease;
overflow: hidden; } .religion-icon-img {
width: 100%; height: 100%; object-fit: contain; display: block;
padding: 2px; box-sizing: border-box; transition: transform 0.25s ease;
} .religion-icon svg {
width: 20px;
height: 20px;
fill: var(--color-sky-light);
transition: all 0.25s ease;
} .religion-icon i {
font-size: 16px;
color: var(--color-sky-base);
transition: all 0.25s ease;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
} .sub-religions .religion-icon {
width: 32px;
height: 32px;
margin-right: 0.4375rem;
border-radius: 5px;
}
.sub-religions .religion-icon svg,
.sub-religions .religion-icon i {
width: 18px;
height: 18px;
font-size: 14px;
} .sub-religions .sub-religions .religion-icon {
width: 28px;
height: 28px;
margin-right: 0.375rem;
border-radius: 4px;
}
.sub-religions .sub-religions .religion-icon svg,
.sub-religions .sub-religions .religion-icon i {
width: 16px;
height: 16px;
font-size: 12px;
} .sub-religions .sub-religions .sub-religions .religion-icon {
width: 24px;
height: 24px;
margin-right: 0.3125rem;
border-radius: 3px;
}
.sub-religions .sub-religions .sub-religions .religion-icon svg,
.sub-religions .sub-religions .sub-religions .religion-icon i {
width: 14px;
height: 14px;
font-size: 10px;
} .religion-item-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 40px;
}
.religion-link {
display: flex;
align-items: center;
flex: 1;
min-width: 0;
padding: 0.5rem 0;
color: #1f2937;
text-decoration: none !important; transition: all 0.25s ease;
}
.religion-title {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: calc(100% - 10px);
font-size: 0.9rem;
font-weight: 500;
line-height: 1.3;
color: #374151;
transition: all 0.25s ease; } .religion-link:hover .religion-title {
color: var(--color-sky-dark); text-decoration: none; } .religion-item.current-menu-item .religion-title,
.religion-item.current-menu-ancestor .religion-title {
color: var(--color-sky-dark);
font-weight: 400;
} @media (min-width: 769px) {
.religion-title {
max-width: 160px;
}
} .religion-toggle {
background: transparent;
border: none;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #6b7280; transition: all 0.25s ease;
flex-shrink: 0;
margin-left: auto;
border-radius: 4px;
position: relative;
} .religion-toggle:hover {
color: var(--color-sky-dark); background: rgba(var(--color-sky-base-rgb), 0.08);
}
.religion-item.current-menu-item .religion-toggle,
.religion-item.current-menu-ancestor .religion-toggle {
color: var(--color-sky-dark);
} .religion-toggle i {
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.religion-toggle[aria-expanded="true"] i {
transform: rotate(180deg);
} .sub-religions .religion-toggle {
width: 28px;
height: 28px;
}
.sub-religions .sub-religions .religion-toggle {
width: 24px;
height: 24px;
} .religion-link:hover .religion-icon {
background: rgba(var(--color-sky-base-rgb), 0.12);
border-color: rgba(var(--color-sky-base-rgb), 0.25);
}
.religion-link:hover .religion-icon-img {
transform: scale(1.05); }
.religion-link:hover .religion-icon svg,
.religion-link:hover .religion-icon i {
fill: var(--color-sky-light);
transform: scale(1.1);
color: var(--color-sky-light);
} .religion-item.current-menu-item .religion-icon,
.religion-item.current-menu-ancestor .religion-icon {
background: rgb(255 255 255 / 10%);
border-color: rgba(var(--color-sky-base-rgb), 0.3);
}
.religion-item.current-menu-item .religion-icon svg,
.religion-item.current-menu-ancestor .religion-icon svg,
.religion-item.current-menu-item .religion-icon i,
.religion-item.current-menu-ancestor .religion-icon i {
fill: var(--color-sky-light);
color: var(--color-sky-dark);
} .sub-religions {
list-style: none;
margin: 0;
padding: 0;
padding-left: 0.75rem;
overflow: hidden;
max-height: 0;
opacity: 0;
transform: translateY(-8px);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.religion-item.expanded .sub-religions {
max-height: 1000px;
opacity: 1;
transform: translateY(0);
padding: 0.375rem 0 0.375rem 0.75rem;
} .sub-religions .sub-religions {
padding-left: 0.5rem;
}
.sub-religions .sub-religions .sub-religions {
padding-left: 0.375rem;
} .religion-item.current-menu-item,
.religion-item.current-menu-ancestor {
background: rgba(var(--color-sky-base-rgb), 0.02);
border-color: rgba(var(--color-sky-base-rgb), 0.2);
box-shadow: 0 1px 3px rgba(var(--color-sky-base-rgb), 0.1);
}
.religion-item.current-menu-item {
border-left: 3px solid var(--color-sky-dark);
background: #FFF;
} @media (min-width: 769px) {
.religion-item {
margin-bottom: 0.25rem;
}
.religion-link {
padding: 0.5rem 0;
} .religion-item:hover .religion-icon {
background: #FFF;
border-color: rgba(var(--color-sky-base-rgb), 0.3);
transform: scale(1.03);
}
.religion-toggle:hover {
transform: scale(1.1);
}
} @media (max-width: 768px) {
#religion-accordion {
position: fixed;
top: 0;
left: 0;
width: 90%;
max-width: 300px;
height: 100vh;
max-height: 100vh !important;
border-radius: 0;
border-right: 1px solid #e5e7eb;
transform: translateX(-100%);
opacity: 0;
visibility: hidden;
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 12px 0 40px rgba(0, 0, 0, 0.1);
z-index: 10001;
overflow-y: auto;
padding-top: 56px;
min-width: auto;
background: #ffffff;
}
#religion-accordion.active {
transform: translateX(0);
opacity: 1;
visibility: visible;
}
#religion-accordion.closing {
transform: translateX(-100%);
opacity: 0;
} .mobile-panel-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
max-width: 300px;
height: 56px;
background: #ffffff;
border-bottom: 1px solid #e5e7eb;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 1rem;
z-index: 10002;
}
.mobile-panel-header h3 {
margin: 0;
font-size: 1rem;
color: var(--color-sky-base); font-weight: 400;
font-family: var(--font-family-serif);
}
.mobile-panel-close {
background: transparent;
border: none;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #6b7280;
border-radius: 4px;
transition: all 0.2s ease;
}
.mobile-panel-close:hover {
background: rgba(var(--color-sky-base-rgb), 0.08);
color: var(--color-sky-base); } .mobile-accordion-shortcut {
position: fixed !important;
bottom: 24px;
right: 6%;
width: 52px;
height: 52px;
background: var(--color-sky-base); border: none;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 999999 !important;
box-shadow: 0 4px 16px rgba(var(--color-sky-base-rgb), 0.3);
transition: all 0.3s ease;
}
.mobile-accordion-shortcut:hover {
transform: scale(1.08);
box-shadow: 0 6px 20px rgba(var(--color-sky-base-rgb), 0.4);
}
.mobile-accordion-shortcut i {
font-size: 20px;
color: white;
transition: opacity 0.25s ease;
position: absolute;
} .mobile-accordion-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgb(7 14 24 / 79%);
z-index: 10000;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.mobile-accordion-overlay.active {
opacity: 1;
visibility: visible;
} body.mobile-accordion-open {
overflow: hidden;
position: fixed;
width: 100%;
height: 100%;
}
.no-scroll {
overflow: hidden !important;
}
} @keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
} @media (min-width: 769px) {
#religion-accordion {
display: block !important;
position: relative;
transform: none !important;
opacity: 1 !important;
visibility: visible !important;
height: auto !important;
max-height: 85vh !important;
}
.mobile-accordion-overlay,
.mobile-accordion-shortcut,
.mobile-panel-header {
display: none !important;
}
} #religion-accordion::-webkit-scrollbar {
width: 5px;
}
#religion-accordion::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 8px;
}
#religion-accordion::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 8px;
}
#religion-accordion::-webkit-scrollbar-thumb:hover {
background: var(--color-sky-base); } :root { --color-sky-base: #3b82f6;
--color-sky-base-rgb: 59, 130, 246;
} #religion-accordion { --color-sky-base-rgb: 59, 130, 246; } @media (max-width: 360px) {
#religion-accordion {
width: 92%;
}
.religion-item-wrapper {
min-height: 36px;
}
.religion-link {
padding: 0.375rem 0;
}
.religion-icon {
width: 32px;
height: 32px;
margin-right: 0.375rem;
}
} @media (min-width: 481px) and (max-width: 768px) {
#religion-accordion {
width: 75%;
max-width: 280px;
}
.mobile-panel-header {
width: 100%;
max-width: 280px;
}
} @supports (-webkit-touch-callout: none) {
#religion-accordion {
height: -webkit-fill-available;
}
} .sub-religions .religion-item::before {
content: '';
position: absolute;
left: 0.5rem;
top: 50%;
transform: translateY(-50%);
width: 8px;
height: 1px;
background: rgb(149 190 255 / 92%);
}
.sidebar-toggle {display: none;}