/* Local Google Fonts */
/* cyrillic-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR4SDktYw.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GRxSDktYw.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR5SDktYw.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR2SDktYw.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR6SDktYw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR7SDktYw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR1SDk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR4SDktYw.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GRxSDktYw.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR5SDktYw.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR2SDktYw.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR6SDktYw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR7SDktYw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SlGUmQSNjdsmc35JDF1K5GR1SDk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSumu1aB.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu1aB.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* hebrew */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* math */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTVOmu1aB.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* symbols */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTUGmu1aB.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}
/* vietnamese */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSumu1aB.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu1aB.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* hebrew */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* math */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTVOmu1aB.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* symbols */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTUGmu1aB.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}
/* vietnamese */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSumu1aB.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu1aB.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* hebrew */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* math */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTVOmu1aB.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* symbols */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTUGmu1aB.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}
/* vietnamese */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Основні кольори:
   Кнопки та акценти: #006b85
   Фон сторінки: #F2F2F0
   Заголовки: #116A6A
*/

:root { 
    --dark-bg: #101f26; 
    --accent: #274655; 
    --text-light: #2C717E; /* Was #53a2af, darkened for WCAG AA contrast */
    --gold: #d4af37;
    --mobile-menu-bg: #002828;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #F2F2F0;
    color: #333;
}

.icon-detail-page {
    background-color: #F2F2F0;
}

/* Шапка та навігація */
header { position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.2); }

#upper { background: var(--dark-bg); color: #fff; padding: 6px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
#upper a { color: #ccc; text-decoration: none; transition: 0.3s; }
#upper a:hover { color: var(--text-light); }

.upper-icon { font-size: 1.1rem; margin-left: 15px; }

#main-nav { background: #fff; padding: 12px 0; }
.nav-link { color: var(--dark-bg); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; }
.nav-link:hover, .nav-link.show { color: var(--text-light); }

.mobile-nav-link { 
    color: white !important; 
    text-decoration: none; 
    text-transform: uppercase; 
    font-weight: 700; 
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-nav-link i.fa-cross { opacity: 0.3; font-size: 0.7rem; }

/* Кнопка "Вгору" */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
#back-to-top:hover {
    background: var(--gold);
    transform: translateY(-5px);
}

h1, h2, h3, h4, h5, h6, 
.accordion-button:not(.collapsed) { 
    color: #116A6A !important; 
}

/* Перевизначення кольорів Bootstrap Primary */
.text-primary { color: #006b85 !important; }
.bg-primary { background-color: #006b85 !important; }
.border-primary { border-color: #006b85 !important; }
.bg-primary-subtle { background-color: #e6f7f9 !important; }
.border-primary-subtle { border-color: #b3e3ec !important; }

.btn-primary {
    background-color: #006b85 !important;
    border-color: #006b85 !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #005063 !important;
    border-color: #005063 !important;
}
/*
.btn-outline-primary {
    color: #006b85 !important;
    border-color: #006b85 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #006b85 !important;
    color: white !important;
}
*/

/* Молитви */
.prayer-link { background: white; transition: 0.2s; border-radius: 10px; }
.prayer-link:hover { background: #e6f7f9; border-color: #006b85; color: #116A6A; }
.active-link { border-color: #006b85; background: #e6f7f9; font-weight: bold; color: #116A6A; }
.nav-pills .nav-link.active { background-color: #006b85; }

.prayer-cat-link { transition: 0.3s; color: inherit; }
.prayer-cat-link:hover { border-color: #006b85 !important; color: #116A6A !important; background-color: #e6f7f9 !important; }

/* Свічки */
.candle-option { cursor: pointer; border: 1px solid #dee2e6 !important; background-color: #fff !important; color: #495057; }
.candle-option:hover { background-color: #e6f7f9 !important; border-color: #006b85 !important; color: #006b85; }
.active-option { border-color: #006b85 !important; background-color: #006b85 !important; color: white !important; box-shadow: 0 0 10px rgba(0, 129, 159, 0.2); }
.candle-stick { box-shadow: inset 0 0 5px rgba(0,0,0,0.05); }

/* Таби: Свічка / Записка / Прикраса */
.btn-group .btn {
    border-radius: 0 !important;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-group .btn:not(.btn-primary) {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}
.btn-group .btn:first-child {
    border-radius: 0.375rem 0 0 0.375rem !important;
}
.btn-group .btn:last-child {
    border-radius: 0 0.375rem 0.375rem 0 !important;
}

/* Форма записок */
.note-card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #dee2e6 !important;
    background-color: #fff;
}
.note-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}
.styled-check {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    background: #fff;
    transition: all 0.2s ease;
}
.styled-check.checked {
    background-color: #006b85;
    border-color: #006b85;
}
.name-input {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.name-input:focus {
    border-bottom-color: #006b85;
}
.btn-remove {
    background: none;
    border: none;
    color: #ccc;
    padding: 0 5px;
}
.btn-remove:hover {
    color: #dc3545;
}

/* Інші утиліти */
.cursor-pointer { cursor: pointer; user-select: none; }
.transition-02 { transition: all 0.2s ease; }
#selected-content-block { scroll-margin-top: 110px; }
.gift-item { cursor: pointer; transition: transform 0.2s; }
.gift-item:hover { transform: translateY(-3px); }
[x-cloak] { display: none !important; }

/* Хлібні крихти */
.breadcrumb {
    font-size: 0.85rem;
}

/* Буквиця (Drop cap) для молитов */
.prayer-text .tab-pane p::first-letter {
    color: rgb(220, 20, 60);
    font-size: 2.5em;
    float: left;
    line-height: 0.8;
    padding-right: 6px;
    padding-top: 4px;
    font-weight: bold;
}

/* Анімація та стилі свічок */
.candle-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin: 0 auto;
}

.candle-wrapper.size-small {
    height: 50px;
    width: 6px;
}

.candle-wrapper.size-regular,
.candle-wrapper.size-medium {
    height: 70px;
    width: 10px;
}

.candle-wrapper.size-big,
.candle-wrapper.size-large {
    height: 100px;
    width: 14px;
}

.candle-body {
    background: linear-gradient(to right, #ffeaa7, #e1b12c, #ffeaa7);
    width: 100%;
    height: var(--remaining-height, 100%);
    min-height: 10%;
    border-radius: 4px 4px 2px 2px;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: height 1s linear;
}

.candle-body::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 5px;
    background: #2d3436;
    border-radius: 2px;
}

.candle-wrapper.size-regular .candle-body,
.candle-wrapper.size-medium .candle-body,
.candle-wrapper.size-small .candle-body {
    height: calc(var(--remaining-height, 100%) * 0.73) !important;
    min-height: 5% !important;
}

.candle-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 100%;
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: 1;
}

.candle-flame {
    width: 240%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 220, 1) 0%, rgba(255, 160, 0, 0.85) 40%, rgba(255, 50, 0, 0) 70%);
    border-radius: 50% 50% 20% 20%;
    transform-origin: bottom center;
    animation: flicker 0.4s infinite alternate;
    animation-delay: var(--animation-delay, 0s);
    margin-bottom: -3px;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(255, 160, 0, 0.6));
}

.candle-wrapper.size-small .candle-flame {
    height: 20px;
    width: 280%;
    margin-bottom: -11px;
}

.candle-wrapper.size-big .candle-flame,
.candle-wrapper.size-large .candle-flame {
    height: 40px;
    width: 200%;
}

.candle-wrapper.size-regular .candle-flame,
.candle-wrapper.size-medium .candle-flame {
    margin-bottom: -11px;
}

@keyframes flicker {
    0% {
        transform: scale(1) rotate(-1deg);
        opacity: 0.85;
    }

    33% {
        transform: scale(1.02) rotate(1deg);
        opacity: 1;
    }

    66% {
        transform: scale(0.98) rotate(-1deg);
        opacity: 0.9;
    }

    100% {
        transform: scale(1) rotate(2deg);
        opacity: 0.85;
    }
}

.burning-item {
    padding: 2px 4px;
    margin-top: auto;
}

.candles-container {
    align-items: flex-end;
}

/* === Стилі з audio_list.html === */

:root {
        --athos-gold: #c5a059;
        --athos-dark: #2c2c2c;
        --athos-gray: #777;
        --athos-bg: #fdfdfd;
    }

    .prayer-book { 
        background: var(--athos-bg); 
        padding: 20px; 
        border-radius: 4px; 
        font-family: 'open sans', sans-serif; 
    }

    .prayer-main-title {
        color: var(--athos-dark);
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .accordion-button:focus {
        box-shadow: none;
    }
    .accordion-button:not(.collapsed) {
        box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
    }
    
    .category-title {
        color: var(--athos-gold);
        font-size: 1.2rem;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        letter-spacing: 2px;
        text-align: center;
    }

    /* Styles for audio cards injected via AJAX */
    .audio-card {
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .audio-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    }

    .prayer-link {
        color: var(--athos-dark);
        text-decoration: none;
        font-weight: 600;
        transition: 0.3s;
        display: flex;
        align-items: flex-start;
        line-height: 1.3;
    }
    .prayer-link:hover { color: var(--athos-gold); }
    
    .bullet {
        display: inline-block;
        min-width: 6px;
        width: 6px;
        height: 6px;
        background: var(--athos-gold);
        border-radius: 50%;
        margin-right: 10px;
        margin-top: 6px;
    }

    @media (max-width: 768px) {
        .prayer-book { padding: 15px; }
    }

/* === Стилі з candle_petitions.html === */

.prayer-text-link {
            transition: all 0.2s ease-in-out;
        }
        .prayer-text-link:hover {
            color: #198754 !important; /* success color */
            padding-left: 5px;
        }
        .border-light {
            border-color: #e9ecef !important;
        }

.prayer-cat-link {
        transition: all 0.2s ease;
    }

    .prayer-cat-link:hover {
        background-color: #fdfaf3 !important;
        border-color: var(--gold) !important;
        transform: translateY(-2px);
    }

    [x-cloak] {
        display: none !important;
    }

/* === Стилі з footer_default.html === */

/* Анімація для юридичних посилань */
    .legal-links a:hover, .hover-text-light:hover {
        color: var(--text-light) !important;
        transform: translateY(-2px);
        display: inline-block;
    }
    .transition-03 {
        transition: all 0.3s ease;
    }

/* === Стилі з header_default.html === */

.-translate-x-100 { transform: translateX(-100%); }
    .translate-x-0 { transform: translateX(0); }
    .menu-panel { transition: transform 0.3s ease-out; }
    
    .search-result-item:hover {
        background-color: #fdfaf3;
    }

    [x-cloak] {
        display: none !important;
    }

/* === Стилі з icon_list.html === */

.category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        background-color: #fff !important;
    }

/* === Стилі з index.html === */

.alphabet-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    @media (min-width: 768px) {
        .alphabet-nav {
            flex-wrap: wrap;
            justify-content: center;
        }
    }
    /* Эффект при наведении на карточку иконы */
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }
    .icon-img-wrapper img {
        transition: transform 0.5s ease;
    }
    .card:hover .icon-img-wrapper img {
        transform: scale(1.05);
    }

/* === Стилі з order_cart.html === */

.amount-control button { min-width: 38px; }
    .amount-control input { min-width: 70px; }

/* === Стилі з prayer_list.html === */

:root {
        --athos-gold: #c5a059;
        --athos-dark: #2c2c2c;
        --athos-gray: #777;
        --athos-bg: #fdfdfd;
    }

    .prayer-book { 
        background: var(--athos-bg); 
        padding: 20px; 
        border-radius: 4px; 
        font-family: 'open sans', sans-serif; 
    }

    .prayer-main-title {
        color: var(--athos-dark);
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .category-title {
        color: var(--athos-gold);
        font-size: 1.2rem;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        letter-spacing: 2px;
        text-align: center;
    }

    /* Ссылки на молитвы */
    .prayer-link {
        display: block;
        padding: 8px 0;
        color: var(--athos-dark);
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: 0.3s;
    }
    .prayer-link:hover { color: var(--athos-gold); }
    .bullet {
        display: inline-block;
        width: 6px;
        height: 6px;
        background: var(--athos-gold);
        border-radius: 50%;
        margin-right: 10px;
        vertical-align: middle;
    }

    /* Аккордеон в стиле Athos Guide */
    .athos-accordion {
        border-bottom: 1px solid #f0f0f0;
    }
    .subcategory-header {
        padding: 15px 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: 0.3s;
    }
    .subcategory-header:hover .sub-title { color: var(--athos-gold); }
    
    .sub-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #444;
    }

    .arrow-icon {
        font-size: 0.9rem;
        color: var(--athos-gray);
        transition: transform 0.3s ease;
    }

    .subcategory-header[aria-expanded="true"] .arrow-icon {
        transform: rotate(180deg);
        color: var(--athos-gold);
    }

    .subcategory-body {
        padding: 10px 20px 20px 20px;
        background: #f9f9f9;
        border-radius: 4px;
    }

    .prayer-sub-link {
        display: block;
        padding: 5px 0;
        color: var(--athos-gray);
        text-decoration: none;
        font-size: 1 rem;
    }
    .prayer-sub-link:hover { color: var(--athos-dark); padding-left: 5px; transition: 0.2s; }

    @media (max-width: 768px) {
        .prayer-book { padding: 20px; }
    }

/* === Стилі з search_results.html === */

mark.search-highlight {
        background-color: #fff3cd; /* Светло-желтый фон */
        padding: 0;
        color: inherit;
    }

/* === Стилі з user_profile.html === */

.candle-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin: 0 auto;
}
.candle-wrapper.size-small { height: 35px; width: 4px; }
.candle-wrapper.size-regular, .candle-wrapper.size-medium { height: 50px; width: 7px; }
.candle-wrapper.size-big, .candle-wrapper.size-large { height: 70px; width: 10px; }

.candle-body {
    background: linear-gradient(to right, #ffeaa7, #e1b12c, #ffeaa7);
    width: 100%;
    height: var(--remaining-height, 100%);
    min-height: 10%;
    border-radius: 2px 2px 1px 1px;
    box-shadow: inset 0 -1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
    transition: height 1s linear;
}
.candle-body::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 3px;
    background: #2d3436;
    border-radius: 1px;
}

.candle-flame {
    width: 240%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(255,255,220,1) 0%, rgba(255,160,0,0.85) 40%, rgba(255,50,0,0) 70%);
    border-radius: 50% 50% 20% 20%;
    transform-origin: bottom center;
    animation: flicker 0.4s infinite alternate;
    animation-delay: var(--animation-delay, 0s);
    margin-bottom: -2px;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(255,160,0,0.6));
}

.candle-wrapper.size-small .candle-flame { height: 15px; width: 280%; }
.candle-wrapper.size-big .candle-flame { height: 30px; width: 200%; }

@keyframes flicker {
    0% { transform: scale(1) rotate(-1deg); opacity: 0.85; }
    33% { transform: scale(1.02) rotate(1deg); opacity: 1; }
    66% { transform: scale(0.98) rotate(-1deg); opacity: 0.9; }
    100% { transform: scale(1) rotate(2deg); opacity: 0.85; }
}

/* === DARK MODE OVERRIDES === */
[data-bs-theme="dark"] body, 
[data-bs-theme="dark"] .icon-detail-page {
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] #upper {
    background: #000 !important;
}

[data-bs-theme="dark"] .prayer-link, 
[data-bs-theme="dark"] .note-card, 
[data-bs-theme="dark"] .candle-option {
    background-color: #2c3034 !important;
    border-color: #495057 !important;
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .prayer-link:hover, 
[data-bs-theme="dark"] .candle-option:hover {
    background-color: var(--accent) !important;
    border-color: var(--text-light) !important;
    color: #fff !important;
}

[data-bs-theme="dark"] .active-link {
    background-color: var(--accent) !important;
    color: var(--gold) !important;
    border-color: var(--gold) !important;
}

[data-bs-theme="dark"] .prayer-book {
    background: #212529 !important;
}

[data-bs-theme="dark"] .prayer-main-title {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .subcategory-header .sub-title {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .subcategory-body {
    background: #2c3034 !important;
}

    .category-title {
        color: var(--athos-gold);
        font-size: 1.2rem;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        letter-spacing: 2px;
        text-align: center;
    }

    /* Ссылки на молитвы */
    .prayer-link {
        display: block;
        padding: 8px 0;
        color: var(--athos-dark);
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: 0.3s;
    }
    .prayer-link:hover { color: var(--athos-gold); }
    .bullet {
        display: inline-block;
        width: 6px;
        height: 6px;
        background: var(--athos-gold);
        border-radius: 50%;
        margin-right: 10px;
        vertical-align: middle;
    }

    /* Аккордеон в стиле Athos Guide */
    .athos-accordion {
        border-bottom: 1px solid #f0f0f0;
    }
    .subcategory-header {
        padding: 15px 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: 0.3s;
    }
    .subcategory-header:hover .sub-title { color: var(--athos-gold); }
    
    .sub-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #444;
    }

    .arrow-icon {
        font-size: 0.9rem;
        color: var(--athos-gray);
        transition: transform 0.3s ease;
    }

    .subcategory-header[aria-expanded="true"] .arrow-icon {
        transform: rotate(180deg);
        color: var(--athos-gold);
    }

    .subcategory-body {
        padding: 10px 20px 20px 20px;
        background: #f9f9f9;
        border-radius: 4px;
    }

    .prayer-sub-link {
        display: block;
        padding: 5px 0;
        color: var(--athos-gray);
        text-decoration: none;
        font-size: 1 rem;
    }
    .prayer-sub-link:hover { color: var(--athos-dark); padding-left: 5px; transition: 0.2s; }

    @media (max-width: 768px) {
        .prayer-book { padding: 20px; }
    }

/* === Стилі з search_results.html === */

mark.search-highlight {
        background-color: #fff3cd; /* Светло-желтый фон */
        padding: 0;
        color: inherit;
    }

/* === Стилі з user_profile.html === */

.candle-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin: 0 auto;
}
.candle-wrapper.size-small { height: 35px; width: 4px; }
.candle-wrapper.size-regular, .candle-wrapper.size-medium { height: 50px; width: 7px; }
.candle-wrapper.size-big, .candle-wrapper.size-large { height: 70px; width: 10px; }

.candle-body {
    background: linear-gradient(to right, #ffeaa7, #e1b12c, #ffeaa7);
    width: 100%;
    height: var(--remaining-height, 100%);
    min-height: 10%;
    border-radius: 2px 2px 1px 1px;
    box-shadow: inset 0 -1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
    transition: height 1s linear;
}
.candle-body::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 3px;
    background: #2d3436;
    border-radius: 1px;
}

.candle-flame {
    width: 240%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(255,255,220,1) 0%, rgba(255,160,0,0.85) 40%, rgba(255,50,0,0) 70%);
    border-radius: 50% 50% 20% 20%;
    transform-origin: bottom center;
    animation: flicker 0.4s infinite alternate;
    animation-delay: var(--animation-delay, 0s);
    margin-bottom: -2px;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(255,160,0,0.6));
}

.candle-wrapper.size-small .candle-flame { height: 15px; width: 280%; }
.candle-wrapper.size-big .candle-flame { height: 30px; width: 200%; }

@keyframes flicker {
    0% { transform: scale(1) rotate(-1deg); opacity: 0.85; }
    33% { transform: scale(1.02) rotate(1deg); opacity: 1; }
    66% { transform: scale(0.98) rotate(-1deg); opacity: 0.9; }
    100% { transform: scale(1) rotate(2deg); opacity: 0.85; }
}

/* === DARK MODE OVERRIDES === */
[data-bs-theme="dark"] body, 
[data-bs-theme="dark"] .icon-detail-page {
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] #upper {
    background: #000 !important;
}

[data-bs-theme="dark"] .prayer-link, 
[data-bs-theme="dark"] .note-card, 
[data-bs-theme="dark"] .candle-option {
    background-color: #2c3034 !important;
    border-color: #495057 !important;
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .prayer-link:hover, 
[data-bs-theme="dark"] .candle-option:hover {
    background-color: var(--accent) !important;
    border-color: var(--text-light) !important;
    color: #fff !important;
}

[data-bs-theme="dark"] .active-link {
    background-color: var(--accent) !important;
    color: var(--gold) !important;
    border-color: var(--gold) !important;
}

[data-bs-theme="dark"] .prayer-book {
    background: #212529 !important;
}

[data-bs-theme="dark"] .prayer-main-title {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .subcategory-header .sub-title {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .subcategory-body {
    background: #2c3034 !important;
}

[data-bs-theme="dark"] .accordion-button {
    background-color: #212529 !important;
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: var(--accent) !important;
    color: #fff !important;
}

/* Fixes for hardcoded light classes */
[data-bs-theme="dark"] .bg-white {
    background-color: var(--bs-body-bg) !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #2c3034 !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .btn-white {
    background-color: #2c3034 !important;
    border-color: #495057 !important;
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .btn-white:hover {
    background-color: var(--accent) !important;
    border-color: var(--text-light) !important;
    color: #fff !important;
}

[data-bs-theme="dark"] .border {
    border-color: #495057 !important;
}

[data-bs-theme="dark"] .shadow-sm,
[data-bs-theme="dark"] .shadow-md,
[data-bs-theme="dark"] .shadow-lg {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.5) !important;
}

[data-bs-theme="dark"] #main-nav .nav-link {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] #main-nav .nav-link:hover {
    color: var(--accent) !important;
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #2c3034 !important;
    border-color: #495057 !important;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: var(--accent) !important;
    color: #fff !important;
}

[data-bs-theme="dark"] .text-muted {
    color: #adb5bd !important;
}

/* Світла тема для молитви (папір) */
.prayer-container {
    background-color: #fdfaf3;
    border: 1px solid #f1ece1;
}

.prayer-container .prayer-text {
    color: #333;
}

/* Темна тема для молитви */
[data-bs-theme="dark"] .prayer-container {
    background-color: #2c3034 !important;
    border-color: #495057 !important;
}

[data-bs-theme="dark"] .prayer-container .prayer-text,
[data-bs-theme="dark"] .prayer-container h2 {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .prayer-container h2 {
    color: var(--accent) !important;
}

[x-cloak] {
    display: none !important;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

[data-bs-theme="dark"] .search-result-item:hover {
    background-color: #212529 !important;
}

[data-bs-theme="dark"] .prayer-cat-link {
    background-color: #2c3034 !important;
    border-color: #495057 !important;
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .prayer-cat-link:hover {
    background-color: var(--accent) !important;
    color: #fff !important;
}

/* Contrast Overrides for Accessibility */
.text-muted { color: #545b62 !important; }
.text-secondary { color: #545b62 !important; }
.text-danger { color: #b02a37 !important; }
.text-warning { color: #997404 !important; }
.text-info { color: #087990 !important; }
.text-success { color: #146c43 !important; }
