/* Статья (2026) — шаблон home2026/single-erk.php. Цвета и шрифты как на новой главной, минимум украшений */

/* перебиваем старый каркас style.css (#content с отступом, float-колонки) */
#wrapper.erk-post { max-width: none; width: auto; margin: 0; padding: 20px 0 56px; background: var(--bg); }
#wrapper.erk-post #content { margin: 0; }
#wrapper.erk-post #middle::after { display: none; }
/* старый style.css задаёт заголовкам и формам свои шрифты */
.erk-post :is(h1, h2, h3, h4, h5, h6, input, textarea, button) { font-family: Montserrat, "Segoe UI", Arial, sans-serif; }

/* Share the header's .erk-wrap width; do not narrow the outer content grid. */
.erk-post__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.erk-post__main { min-width: 0; }

/* Хлебные крошки */
.erk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 14px; font-size: 13.5px; color: var(--muted); }
.erk-post .erk-crumbs a { color: var(--muted); }
.erk-post .erk-crumbs a:hover { color: var(--blue); }
.erk-crumbs span { color: #b5bfd6; }

/* Карточка статьи */
.erk-post__card { padding: 40px 48px 36px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.erk-post__head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.erk-post__head h1 { margin: 0; text-shadow: none; background: none; border: 0; padding: 0; font-size: 32px; line-height: 1.22; font-weight: 800; color: var(--navy); letter-spacing: -.2px; }
.erk-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.erk-post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.erk-post__meta .ei { width: 17px; height: 17px; color: var(--teal); }
.erk-post .erk-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; background: #e0f5f3; color: #0f8d8a; font-weight: 600; font-size: 13px; }
.erk-post .erk-chip:hover { background: var(--teal); color: #fff; }

/* Оглавление */
.erk-toc { margin: 0 0 26px; padding: 14px 20px; border-radius: 14px; background: var(--bg); }
.erk-toc summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.erk-toc ol { margin: 10px 0 2px; padding-left: 20px; list-style: decimal; }
.erk-toc li { margin: 6px 0; color: var(--muted); }
.erk-post .erk-toc a { color: var(--ink); }
.erk-post .erk-toc a:hover { color: var(--blue); }

/* Текст статьи (контент из редактора как есть) */
.erk-content { font-size: 17px; line-height: 1.75; color: var(--ink); overflow-wrap: break-word; }
.erk-content > * + * { margin-top: 1em; }
.erk-content p { margin-bottom: 0; }
.erk-content h2, .erk-content h3, .erk-content h4 { color: var(--navy); line-height: 1.3; font-weight: 700; scroll-margin-top: 90px; }
.erk-content h2 { margin-top: 1.8em; font-size: 24px; }
.erk-content h3 { margin-top: 1.5em; font-size: 20px; }
.erk-content h4 { margin-top: 1.3em; font-size: 18px; }
.erk-content strong, .erk-content b { font-weight: 700; color: var(--navy); }
.erk-post .erk-content a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(31, 99, 224, .3); text-underline-offset: 3px; }
.erk-post .erk-content a:hover { color: var(--navy); text-decoration-color: currentColor; }
/* жёлтые выделения из редактора → спокойная бирюзовая подложка */
.erk-content mark { padding: 2px 6px; border-radius: 6px; background: #e0f5f3; color: var(--navy); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.erk-content ul, .erk-content ol { padding-left: 1.4em; }
.erk-content ul { list-style: none; }
.erk-content ul > li { position: relative; }
.erk-content ul > li::before { content: ""; position: absolute; left: -1.05em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.erk-content ol { list-style: decimal; }
.erk-content ol > li::marker { color: var(--teal); font-weight: 700; }
.erk-content li + li { margin-top: .45em; }
.erk-content img { max-width: 100%; height: auto; border-radius: 12px; }
.erk-content .aligncenter, .erk-content img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.erk-content .alignleft { float: left; margin: .3em 1.2em .8em 0; }
.erk-content .alignright { float: right; margin: .3em 0 .8em 1.2em; }
.erk-content .wp-caption { max-width: 100%; }
.erk-content .wp-caption-text, .erk-content figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); text-align: center; }
.erk-content iframe, .erk-content video { display: block; max-width: 100%; border: 0; border-radius: 12px; }
.erk-content iframe[src*="youtube"], .erk-content iframe[src*="rutube"], .erk-content iframe[src*="vk.com"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.erk-content blockquote { margin-left: 0; margin-right: 0; padding: 14px 20px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; background: var(--bg); }
.erk-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.erk-content th, .erk-content td { padding: 8px 12px; border: 1px solid var(--line); }
.erk-content th { background: var(--bg); color: var(--navy); }
.erk-content hr { height: 1px; border: 0; background: var(--line); margin: 1.6em 0; }
.erk-content::after { content: ""; display: block; clear: both; }
/* «***» → три бирюзовые точки */
.erk-content .erk-sep { margin: 1.4em 0; font-size: 0; line-height: 0; text-align: center; }
.erk-content .erk-sep::before { content: "• • •"; font-size: 16px; line-height: 1; letter-spacing: 6px; color: #9fd8d6; }

/* Поделиться */
.erk-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.erk-share b { font-size: 15px; color: var(--navy); }
.erk-share__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.erk-post .erk-share__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 600 14px/1 Montserrat, Arial, sans-serif; cursor: pointer; }
.erk-share__btn .ei { width: 17px; height: 17px; }
.erk-post .erk-share__btn.is-wa { border-color: #25d366; color: #179c4c; }
.erk-post .erk-share__btn.is-wa:hover { background: #25d366; color: #fff; }
.erk-post .erk-share__btn.is-tg { border-color: #2aabee; color: #1a8bc8; }
.erk-post .erk-share__btn.is-tg:hover { background: #2aabee; color: #fff; }
.erk-post .erk-share__btn.is-copy:hover { border-color: var(--blue); color: var(--blue); }

/* Похожие записи */
.erk-related { margin-top: 34px; }
.erk-related h2 { margin-bottom: 16px; font-size: 21px; font-weight: 700; color: var(--navy); }
.erk-related ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.erk-post .erk-related__item { display: flex; align-items: center; gap: 14px; height: 100%; padding: 10px 16px 10px 10px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); color: var(--navy); }
.erk-post .erk-related__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); color: var(--blue); }
.erk-related__img { display: block; flex: none; width: 96px; height: 72px; object-fit: cover; border-radius: 12px; }
.erk-related__img.is-empty { display: grid; place-items: center; background: #e0f5f3; color: var(--teal); }
.erk-related__img.is-empty .ei { width: 28px; height: 28px; }
.erk-related__title { font-size: 14.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Комментарии (старый comments.php, новое оформление) */
.erk-comments:not(:empty) { margin-top: 34px; }
.erk-comments > *:first-child { margin-top: 0; }
.erk-comments h2 { font-size: 21px; font-weight: 700; color: var(--navy); }
.erk-comments h2 a { margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--blue); }
.erk-comments .commentlist { margin: 16px 0 0; padding: 0; list-style: none; }
.erk-comments .commentlist li { margin: 0 0 12px; padding: 16px 20px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); font-size: 15px; line-height: 1.6; list-style: none; }
.erk-comments .commentlist .children { margin: 12px 0 0 16px; padding: 0; }
.erk-comments h2 a.addComment { float: none; display: inline-flex; align-items: center; height: 34px; margin: 0 0 0 12px; padding: 0 14px; border-radius: 10px; background: #e0f5f3; color: #0f8d8a; font-size: 13.5px; vertical-align: middle; }
.erk-comments h2 a.addComment:hover { background: var(--teal); color: #fff; }
.erk-comments .commentlist li.comment { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; }
.erk-comments .commentlist .children { grid-column: 1 / -1; }
.erk-comments .commentlist img.avatar { width: 44px; height: 44px; border-radius: 50%; background: #e0f5f3; object-fit: cover; }
.erk-comments .comment-meta { font-weight: 700; color: var(--navy); }
.erk-comments .comment-meta span { margin-left: 8px; font-weight: 400; font-size: 13px; color: var(--muted); }
.erk-comments .commentlist .text p { margin: 4px 0 0; }
.erk-comments .reply { margin-top: 6px; font-size: 13.5px; }
.erk-comments .reply a { color: var(--blue); font-weight: 600; }
.erk-comments #respond { margin-top: 20px; padding: 26px 28px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); font-size: 14.5px; color: var(--muted); }
.erk-comments #respond > strong { font-weight: 500; }
.erk-comments #respond > strong span { color: var(--muted) !important; }
.erk-comments #respond p { margin: 14px 0 0; }
.erk-comments label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--navy); }
.erk-comments input[type="text"], .erk-comments input[type="email"], .erk-comments textarea { display: block; width: 100%; max-width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); font: 15px/1.5 Montserrat, Arial, sans-serif; color: var(--ink); box-sizing: border-box; }
.erk-comments input[type="text"]:focus, .erk-comments textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.erk-comments textarea { min-height: 130px; resize: vertical; }
.erk-comments input[type="submit"] { height: 46px; padding: 0 28px; border: 0; border-radius: 12px; background: linear-gradient(90deg, var(--teal-2), var(--teal)); color: #fff; font: 600 15px/1 Montserrat, Arial, sans-serif; cursor: pointer; }
.erk-comments input[type="submit"]:hover { box-shadow: 0 8px 20px rgba(23, 162, 165, .3); }

/* Сайдбар */
.erk-post__side { display: flex; flex-direction: column; gap: 20px; align-self: stretch; }
/* последний блок («Танымал») едет за скроллом под шапкой; весь столбец не закрепляем — он выше экрана ноутбука */
.erk-post__side > .erk-side:last-child { position: sticky; top: 92px; }
.erk-side { padding: 22px 22px 14px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.erk-side h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; color: var(--navy); }
.erk-side li { border: 0; }
.erk-post .erk-side li + li { border-top: 1px solid var(--line); }
.erk-post .erk-side a { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.erk-post .erk-side a:hover { color: var(--blue); }
.erk-side__img { flex: none; width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.erk-side a span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* виджеты старого сайдбара (rightBox) в том же оформлении */
.erk-side__widgets .rightBox, .erk-side__widgets .rightBoxMid { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; width: auto; }
.erk-side__widgets .rightBox + .rightBox { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.erk-side__widgets h2 { margin: 0 0 8px; padding: 0; border: 0; background: none; font-size: 16px; font-weight: 700; color: var(--navy); }
.erk-side__widgets .rightBoxtumbline { display: none; }
.erk-side__widgets ul { margin: 0; padding: 0; list-style: none; }
.erk-post .erk-side__widgets li { margin: 0; padding: 0; border: 0; background: none; list-style: none; }
.erk-side__widgets img { max-width: 100%; height: auto; border-radius: 12px; }

@media (max-width: 1080px) {
	.erk-post__grid { grid-template-columns: minmax(0, 1fr); }
	.erk-post__main { width: 100%; margin: 0 auto; }
	.erk-post__side > .erk-side:last-child { position: static; }
	.erk-post__side { position: static; display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 0 auto; }
}
@media (max-width: 760px) {
	#wrapper.erk-post { padding: 12px 0 40px; }
	.erk-post__grid { padding: 0 8px; }
	.erk-crumbs { padding: 0 8px; }
	.erk-post__card { padding: 22px 14px 20px; border-radius: 14px; }
	.erk-post__head h1 { font-size: 25px; }
	.erk-content { font-size: 16.5px; line-height: 1.7; }
	.erk-content h2 { font-size: 21px; }
	.erk-content h3 { font-size: 18.5px; }
	.erk-content .alignleft, .erk-content .alignright { float: none; margin: 1em auto; display: block; }
	.erk-share { flex-direction: column; align-items: flex-start; }
	.erk-related ul, .erk-post__side { grid-template-columns: 1fr; }
	.erk-comments #respond { padding: 20px 14px; }
	.erk-comments .commentlist li { padding: 14px; }
}

/* Страницы (page-erk.php): текущая страница в крошках, калькуляторы внутри контента — в цветах главной */
.erk-crumbs__here { color: var(--ink); }
.erk-post--page .erk-content input[type="date"], .erk-post--page .erk-content input[type="number"], .erk-post--page .erk-content input[type="text"], .erk-post--page .erk-content select { height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: 500 15px Montserrat, Arial, sans-serif; color: var(--ink); box-sizing: border-box; }
.erk-post--page .erk-content input:focus, .erk-post--page .erk-content select:focus { outline: none; border-color: var(--teal); }
.erk-post--page .erk-content button, .erk-post--page .erk-content input[type="submit"], .erk-post--page .erk-content input[type="button"] { min-height: 48px; padding: 0 26px; border: 0; border-radius: 12px; background: linear-gradient(90deg, var(--teal-2), var(--teal)); box-shadow: 0 8px 20px rgba(23, 162, 165, .25); color: #fff; font: 600 15px Montserrat, Arial, sans-serif; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.erk-post--page .erk-content button:hover, .erk-post--page .erk-content input[type="submit"]:hover { box-shadow: 0 10px 26px rgba(23, 162, 165, .4); transform: translateY(-1px); }
/* калькулятор беременности (шорткод pregnancy_calculator) */
.erk-post .pregnancy-calculator { max-width: 560px; margin: 1.6em auto; padding: 28px; border: 0; border-radius: 20px; background: var(--bg); box-shadow: none; font-family: Montserrat, Arial, sans-serif; }
.erk-post .pregnancy-calculator h2 { margin-top: 0; color: var(--navy); }
.erk-post .pregnancy-calculator label { color: var(--navy); }
.erk-post .pregnancy-calculator input[type="date"] { width: 100%; }
.erk-post .pregnancy-calculator button { width: 100%; background: linear-gradient(90deg, var(--teal-2), var(--teal)); }
.erk-post .pregnancy-calculator h2 img.icon { display: block; width: 88px; height: auto; margin: 0 auto 10px; }
.erk-post .pregnancy-calculator .result { margin-top: 20px; padding: 6px 20px 20px; border: 1px solid #d5eae9; border-radius: 16px; background: #fff; }
.erk-post .pregnancy-calculator .result p { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin: 0; padding: 12px 0; border-bottom: 1px solid #e6eef2; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--navy); }
.erk-post .pregnancy-calculator .result p strong { font-weight: 500; color: #51657b; }
.erk-post .pregnancy-calculator .result p:first-child { font-size: 18px; font-weight: 800; }
.erk-post .pregnancy-calculator .result p:nth-child(5) { margin-top: 12px; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--navy); color: #fff; font-size: 17px; font-weight: 800; }
.erk-post .pregnancy-calculator .result p:nth-child(5) strong { color: #cfe3f4; }
.erk-post .pregnancy-calculator .trimester { gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.erk-post .pregnancy-calculator .trimester img.icon { width: 18px; height: 18px; margin: 0; }
.erk-post .pregnancy-calculator .trimester1 { background: #e6f6f5; color: #0b7d7a; }
.erk-post .pregnancy-calculator .trimester2 { background: var(--teal); color: #fff; }
.erk-post .pregnancy-calculator .trimester3, .erk-post .pregnancy-calculator .baby { background: var(--navy); color: #fff; }
.erk-post .pregnancy-calculator .advice-box { margin-top: 14px; padding: 14px 16px; border: 0; border-left: 4px solid var(--teal); border-radius: 12px; background: #eefaf9; font-size: 15px; line-height: 1.55; color: var(--ink); }
.erk-post .pregnancy-calculator .share-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.erk-post .pregnancy-calculator .share-buttons a { flex: 1 1 180px; display: inline-flex; align-items: center; justify-content: center; height: 44px; margin: 0; padding: 0 16px; border: 1.5px solid; border-radius: 10px; background: #fff; font: 600 14px/1 Montserrat, Arial, sans-serif; text-decoration: none; }
.erk-post .pregnancy-calculator .share-buttons a.whatsapp { border-color: #25d366; color: #179c4c; }
.erk-post .pregnancy-calculator .share-buttons a.whatsapp:hover { background: #25d366; color: #fff; }
.erk-post .pregnancy-calculator .share-buttons a.telegram { border-color: #2aabee; color: #1a8bc8; }
.erk-post .pregnancy-calculator .share-buttons a.telegram:hover { background: #2aabee; color: #fff; }
/* списки, у которых уже есть свои маркеры-эмодзи, без второй точки */
.erk-content ul[style*="list-style"] > li::before, .erk-content ul.no-bullets > li::before { content: none; }
.erk-post .erk-content li { background-image: none; }

/* Лента записей: рубрики, архивы, поиск (home2026/list-erk.php) */
.erk-list__head { margin-bottom: 22px; }
.erk-list__head h1 { margin: 0; font-size: 32px; line-height: 1.22; font-weight: 800; color: var(--navy); text-shadow: none; background: none; border: 0; padding: 0; }
.erk-list__desc { max-width: 760px; margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.erk-list__desc p { margin: 0; }
.erk-list__search { display: flex; align-items: center; gap: 10px; max-width: 620px; height: 54px; margin-top: 18px; padding: 0 5px 0 18px; background: #fff; border-radius: 28px; box-shadow: var(--shadow); }
.erk-list__search .ei { width: 18px; height: 18px; color: var(--muted); }
.erk-list__search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 500 15px Montserrat, Arial, sans-serif; color: var(--ink); }
.erk-post .erk-list__search button { height: 44px; padding: 0 22px; border: 0; border-radius: 22px; background: linear-gradient(90deg, var(--teal-2), var(--teal)); color: #fff; font: 600 14.5px Montserrat, Arial, sans-serif; cursor: pointer; }
.erk-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.erk-cards > li { margin: 0; padding: 0; list-style: none; background: none; }
.erk-post .erk-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border-radius: 18px; box-shadow: var(--shadow); color: var(--navy); }
.erk-post .erk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); color: var(--blue); }
.erk-card__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.erk-card__img.is-empty { display: grid; place-items: center; background: #e0f5f3; color: var(--teal); }
.erk-card__img.is-empty .ei { width: 40px; height: 40px; }
.erk-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.erk-card__body small { font-size: 12px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .4px; }
.erk-card__body b { font-size: 15.5px; line-height: 1.4; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.erk-card__text { font-size: 13.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.erk-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.erk-pager .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-weight: 600; font-size: 14.5px; color: var(--navy); }
.erk-pager a.page-numbers:hover { color: var(--blue); }
.erk-pager .current { background: var(--navy); color: #fff; }
.erk-pager .dots { background: none; box-shadow: none; }
.erk-list__empty { text-align: center; color: var(--muted); }
.erk-list__more { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.erk-post .erk-side h3 a { color: var(--navy); }
.erk-post .erk-side h3 a:hover { color: var(--blue); }

/* Public article index: links are present even without JavaScript. */
.erk-archive-index [hidden] { display: none !important; }
.erk-archive-index__total { display: inline-block; padding: 7px 12px; border-radius: 20px; background: #e5f6f3; color: #006668; font-size: 13px; }
.erk-archive-index__search { margin: 20px 0; }
.erk-archive-index__search label { display: block; margin-bottom: 8px; color: #173454; font-size: 14px; font-weight: 600; }
.erk-archive-index__search input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #b8d5d5; border-radius: 12px; background: #fff; color: #173454; font: inherit; font-size: 16px; }
.erk-archive-index__search input:focus-visible, .erk-archive-month summary:focus-visible, .erk-archive-month a:focus-visible { outline: 3px solid #007d7e; outline-offset: 3px; }
.erk-archive-index__search p { font-size: 13px; color: #51657b; }
.erk-archive-month { margin-top: 12px; border: 1px solid #d5eae9; border-radius: 14px; overflow: hidden; }
.erk-archive-month summary { position: relative; padding: 15px 46px 15px 18px; cursor: pointer; color: #062c56; background: #f1faf9; font-size: 15px; font-weight: 700; }
.erk-archive-month summary b { position: absolute; right: 16px; top: 14px; font-size: 13px; color: #007d7e; }
.erk-archive-month ul { margin: 0; padding: 8px 18px; list-style: none; }
.erk-archive-month li { padding: 10px 0; border-bottom: 1px solid #edf2f6; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.erk-archive-month li:last-child { border-bottom: 0; }
.erk-archive-month a { display: block; color: #173454; }
.erk-archive-month a:hover { color: #007d7e; text-decoration: underline; }

/* 404 */
.erk-404__card { max-width: 720px; margin: 20px auto; padding: 48px 40px; text-align: center; }
.erk-404__code { display: block; font-size: 88px; line-height: 1; font-weight: 800; background: linear-gradient(90deg, var(--teal-2), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.erk-404__card h1 { margin: 14px 0 10px; font-size: 28px; font-weight: 800; color: var(--navy); }
.erk-404__card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.erk-404__card .erk-list__search { margin: 24px auto 0; }
.erk-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.erk-post .erk-404__links .erk-chip { height: 36px; padding: 0 16px; }
.erk-post .erk-404__links .erk-chip.is-home { background: var(--navy); color: #fff; }

@media (max-width: 760px) {
	.erk-list__head h1 { font-size: 25px; }
	.erk-cards { grid-template-columns: 1fr; gap: 14px; }
	.erk-post .erk-card { flex-direction: row; align-items: center; }
	.erk-card__img { width: 116px; flex: none; align-self: stretch; aspect-ratio: auto; min-height: 96px; }
	.erk-card__body { padding: 12px 14px; }
	.erk-card__text { display: none; }
	.erk-list__more { grid-template-columns: 1fr; }
	.erk-404__card { padding: 32px 18px; }
	.erk-404__code { font-size: 64px; }
}
.erk-post .pregnancy-calculator .erk-preg-err { margin: 10px 0 0; color: #a12431; font-size: 14px; }
