/* Astrolog.se: useful tools, saved results and illustrated gift inspiration. */

[hidden] { display: none !important; }

.site-header__inner { grid-template-columns: auto auto minmax(0, 1fr); gap: 20px; }
.site-brand { white-space: nowrap; }
.site-nav { min-width: 0; max-width: 100%; }
.site-nav__list { gap: clamp(12px, 1.35vw, 21px); }
.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: .75rem;
  letter-spacing: .055em;
  white-space: nowrap;
}
.site-nav a::after { bottom: 4px; }

/* Keep the instrument and night sky; bring the practical next steps closer. */
.portal__copy h1 { font-size: clamp(3.1rem, 5.6vw, 5.8rem); line-height: 1.02; }
.portal__actions .button { text-align: center; }
.front-section { padding-block: clamp(64px, 8vw, 112px); }
.section-intro { margin-bottom: clamp(28px, 4vw, 48px); }
.front-section--return { padding-top: 28px; padding-bottom: 0; }
.front-section--moon { padding-top: 36px; padding-bottom: 64px; }
.front-section--return::before,
.front-section--moon::before { display: none; }
.front-section > :is(.saved-sky, .next-moon, .gift-teaser) { width: 100%; max-width: none; margin-inline: 0; }
.tool-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-path { min-width: 0; min-height: 256px; padding: 30px; }
.tool-path h3 { margin-top: 42px; font-size: clamp(1.55rem, 2.1vw, 2rem); line-height: 1.12; }
.tool-path p { margin-bottom: 0; font-size: .94rem; line-height: 1.6; }
.tool-path__glyph { top: 22px; right: 26px; font-size: 2.5rem; }
.front-section--gifts { padding-top: 0; }
.front-section--gifts::before { display: none; }

/* Tool pages should reach their form or calendar without a second hero. */
:is(.astrolog-birth-page, .astrolog-page-mankalender, .astrolog-page-stjarntecken-kompatibilitet, .astrolog-page-himlen-just-nu, .astrolog-page-ar-merkurius-retrograd, .astrolog-page-dagens-kosmiska-vader, .astrolog-page-presenter) .site-main {
  padding-top: calc(var(--header-h) + 38px);
}
:is(.astrolog-birth-page, .astrolog-page-mankalender, .astrolog-page-stjarntecken-kompatibilitet, .astrolog-page-himlen-just-nu, .astrolog-page-ar-merkurius-retrograd, .astrolog-page-dagens-kosmiska-vader) .content-hero {
  max-width: 1100px;
  margin-bottom: 30px;
  padding-bottom: 26px;
}
:is(.astrolog-birth-page, .astrolog-page-mankalender, .astrolog-page-stjarntecken-kompatibilitet, .astrolog-page-himlen-just-nu, .astrolog-page-ar-merkurius-retrograd, .astrolog-page-dagens-kosmiska-vader) .content-hero h1 {
  font-size: clamp(2.6rem, 5.3vw, 4.8rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.astrolog-page-presenter .content-hero,
.astrolog-page-presenter .content-page > .magic-visual { display: none; }
.astrolog-page-presenter .entry-content { width: 100%; max-width: 1200px; }
.astrolog-page-mankalender .entry-content { width: 100%; max-width: 1100px; }
.astrolog-page-mankalender .entry-content > p { max-width: 760px; }
.journey-panel--embedded .journey-form__intro h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }

.birth-form :is(input:not([type="checkbox"]):not([type="radio"]), select),
.compatibility-form select,
.gift-toolbar select,
.lunar-controls select {
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  font-size: 16px;
}
.birth-form__advanced summary,
.calculation-pass summary { min-height: 44px; padding-block: 12px; }
.birth-form__field-help,
.birth-form__hint { color: var(--silver); line-height: 1.5; }

/* A small return visit panel; saved sign cards expand only when present. */
.saved-sky {
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(125deg, rgba(23, 35, 58, .72), rgba(12, 18, 32, .8));
  border: 1px solid var(--line);
  border-radius: 18px;
}
.saved-sky h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.12; }
.saved-sky p { max-width: 760px; margin-bottom: 14px; color: var(--silver); font-size: .94rem; }
.saved-sky > :last-child { margin-bottom: 0; }
.saved-sky__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block: 22px; }
.saved-sky__card { min-width: 0; padding: 18px 20px; background: rgba(5, 9, 18, .42); border: 1px solid var(--line-soft); border-radius: 12px; }
.saved-sky__card h3 { margin: 0 0 12px; color: var(--silver); font: 700 .74rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.saved-sky__card a { display: inline-flex; min-height: 44px; align-items: center; font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.saved-sky__card p { margin-bottom: 0; }
.saved-sky__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.saved-sky__actions :is(button, a) { min-height: 44px; }
.saved-sky__status,
.revelation-save__status,
.compatibility-share-status { color: var(--gold-bright); font-size: .9rem; }
:is(.saved-sky__status, .revelation-save__status, .compatibility-share-status):empty { display: none; }
.revelation-save { margin-top: 28px; padding-top: 24px; text-align: center; border-top: 1px solid var(--line); }
.revelation-save__note { max-width: 650px; margin: 12px auto 0; color: var(--silver); font-size: .9rem; line-height: 1.6; }

/* Shared moon cards and the server rendered annual calendar. */
:is(.saved-sky, .next-moon, .gift-catalog, .lunar-calendar, .compatibility-result) { scroll-margin-top: calc(var(--header-h) + 24px); }
.next-moon h2 { margin: 0 0 24px; font-size: clamp(2rem, 3.7vw, 3.2rem); line-height: 1.08; }
.lunar-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 24px; }
.lunar-summary > article {
  min-width: 0;
  padding: clamp(22px, 3.2vw, 34px);
  background: radial-gradient(ellipse at 100% 0, rgba(214, 179, 106, .09), transparent 70%), linear-gradient(135deg, #111a2d, #0a101d);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.lunar-summary .eyebrow { margin-bottom: 14px; }
.lunar-summary h3 { margin: 0 0 12px; font-size: clamp(1.65rem, 2.6vw, 2.25rem); line-height: 1.15; }
.lunar-summary time { color: var(--moon); font-variant-numeric: tabular-nums; }
.lunar-summary p { margin-bottom: 12px; color: var(--silver); }
.lunar-summary .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
.next-moon .lunar-summary { margin-bottom: 0; }
.lunar-calendar { min-width: 0; max-width: 100%; }
.lunar-calendar > h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3.3rem); }
.lunar-controls {
  display: flex;
  margin-block: 26px;
  padding: 20px;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  background: rgba(19, 28, 46, .7);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}
.lunar-controls form { display: flex; min-width: 0; align-items: end; flex-wrap: wrap; gap: 10px; }
.lunar-controls label,
.gift-toolbar label { display: grid; min-width: 0; gap: 8px; color: var(--mist); font-size: .85rem; font-weight: 650; line-height: 1.4; }
.lunar-controls select,
.gift-toolbar select {
  width: 100%;
  padding: 10px 34px 10px 14px;
  color: var(--moon);
  background: #090f1c;
  border: 1px solid #3c4960;
  border-radius: 9px;
}
.lunar-controls select { min-width: 122px; }
.lunar-controls :is(button, .button) { min-height: 48px; padding: 10px 20px; }
.lunar-controls button:not(.button) { color: var(--moon); background: #152139; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.lunar-controls button:not(.button):hover { color: var(--gold-bright); background: #1b2a45; }
.lunar-controls button:disabled { color: #b7bfcc; background: #252b36; border-color: #515866; cursor: not-allowed; box-shadow: none; }
.lunar-controls > div { display: flex; min-width: 0; flex-wrap: wrap; gap: 10px; }
.lunar-year-nav { display: flex; margin-block: 20px; flex-wrap: wrap; gap: 8px; }
.lunar-year-nav > strong { display: flex; min-height: 44px; align-items: center; color: var(--silver); font-size: .88rem; }
.lunar-year-nav a { display: inline-flex; min-height: 44px; padding: 9px 18px; align-items: center; justify-content: center; color: var(--mist); border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; text-decoration: none; }
.lunar-year-nav a[aria-current="page"],
.lunar-year-nav a[aria-current="true"] { color: var(--ink); background: var(--gold-bright); border-color: var(--gold-bright); font-weight: 750; }
.lunar-table { margin-top: 26px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.lunar-table table { width: 100%; margin: 0; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.lunar-table caption { padding: 20px; color: var(--moon); font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; text-align: left; }
.lunar-table th { padding: 14px 18px; color: var(--gold-bright); background: #111b2e; font-size: .73rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.lunar-table td { padding: 15px 18px; color: var(--mist); border-top: 1px solid var(--line-soft); font-size: .94rem; line-height: 1.45; }
.lunar-table td:first-child { color: var(--moon); font-weight: 650; }
.lunar-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .018); }
.lunar-method { margin-top: 20px; color: var(--silver); font-size: .88rem; line-height: 1.65; }
.lunar-print-heading { display: none; }

/* Illustrated gifts use the same visual language as the astronomical tools. */
.gift-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 68px); align-items: center; margin-bottom: 58px; }
.gift-intro > * { min-width: 0; }
.gift-intro h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 5.2vw, 5.3rem); line-height: 1.04; }
.gift-intro p { color: var(--silver); }
.gift-intro figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; }
.gift-intro img,
.gift-teaser img,
.gift-card figure img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.gift-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; background: radial-gradient(ellipse at 100% 0, rgba(214, 179, 106, .08), transparent 65%), #101828; border: 1px solid var(--line); border-radius: 26px; }
.gift-teaser > figure { display: flex; flex-direction: column; align-items: stretch; justify-content: center; margin: 0; background: #0c1321; }
.gift-intro figcaption,
.gift-teaser figcaption { padding: 10px 18px; color: var(--silver); background: #0b111e; font-size: .78rem; line-height: 1.5; }
.gift-teaser > div { min-width: 0; align-self: center; padding: clamp(28px, 4.5vw, 62px); }
.gift-teaser h2 { margin-top: 0; font-size: clamp(2.25rem, 4vw, 3.8rem); line-height: 1.06; }
.gift-teaser p { color: var(--silver); }
.gift-teaser .eyebrow { color: var(--gold); }
.gift-teaser .button { margin-top: 8px; text-align: center; }
.gift-catalog { margin-top: 52px; }
.gift-catalog > h2 { margin-top: 0; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.gift-catalog .section-heading h2 { margin-top: 0; }
.gift-catalog > p { max-width: 760px; }
.gift-toolbar { display: flex; padding: 22px; margin-block: 28px; flex-wrap: wrap; align-items: end; gap: 18px; background: #0f1728; border: 1px solid var(--line); border-radius: 16px; }
.gift-toolbar label { flex: 1 1 180px; }
.gift-toolbar button { min-height: 48px; }
.gift-toolbar [data-gift-count] { margin: 0; padding-block: 12px; color: var(--silver); font-size: .87rem; }
.gift-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 26px; margin-top: 28px; }
.gift-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: linear-gradient(145deg, #121b2d, #0c1220); border: 1px solid var(--line); border-radius: 20px; }
.gift-card > figure { margin: 0; overflow: hidden; background: #0b111e; border-bottom: 1px solid var(--line); }
.gift-card figcaption { padding: 10px 18px; color: var(--silver); background: #0b111e; font-size: .78rem; line-height: 1.5; }
.gift-card__content { min-width: 0; padding: clamp(22px, 3vw, 34px); }
.gift-card__content :is(h2, h3) { margin-top: 0; margin-bottom: 16px; font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.1; }
.gift-card__content > p { font-size: .97rem; line-height: 1.65; }
.gift-card__content .eyebrow { color: var(--gold); font-size: .7rem; }
.gift-card.is-saved { border-color: var(--gold); }
.gift-actions { display: flex; margin-top: 22px; flex-wrap: wrap; align-items: center; gap: 10px; }
.gift-actions :is(button, a) { min-height: 44px; max-width: 100%; text-align: center; }
.gift-actions button:not(.button),
.gift-greeting button:not(.button) { min-height: 44px; padding: 10px 16px; color: var(--moon); background: #142038; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; cursor: pointer; }
.gift-actions button[aria-pressed="true"] { color: var(--gold-bright); background: rgba(214, 179, 106, .1); border-color: var(--gold); box-shadow: none; }
.gift-note { margin-block: 24px; padding: 17px 20px; color: var(--silver); background: rgba(214, 179, 106, .055); border-left: 2px solid var(--gold); border-radius: 0 12px 12px 0; font-size: .9rem; line-height: 1.65; }
.gift-note > :last-child { margin-bottom: 0; }
.gift-advice { margin-top: 22px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.gift-advice summary { min-height: 48px; padding-block: 14px; color: var(--gold-bright); font-size: .94rem; font-weight: 650; line-height: 1.5; cursor: pointer; }
.gift-advice summary::marker { color: var(--gold); }
.gift-advice > :not(summary) { margin-block: 0 18px; font-size: .92rem; }
.gift-advice h4,
.gift-greeting h4 { color: var(--moon); font: 650 .92rem/1.45 var(--sans); letter-spacing: 0; }
.gift-advice ul { padding-left: 22px; }
.gift-advice li + li { margin-top: 8px; }
.gift-greeting { margin-top: 22px; padding: 22px; background: rgba(214, 179, 106, .045); border: 1px solid var(--line); border-radius: 14px; }
.gift-greeting blockquote { margin: 0 0 18px; padding: 0; border: 0; color: var(--gold-bright); font-size: 1.35rem; line-height: 1.4; }
.gift-greeting p:last-child { margin-bottom: 0; }
.gift-greeting button { min-height: 44px; }
.gift-empty { margin-block: 24px; padding: 28px; background: #10192a; border: 1px solid var(--line); border-radius: 16px; }
.gift-empty h3 { margin-top: 0; }
.gift-status { color: var(--gold-bright); font-size: .92rem; }
.gift-status:empty { display: none; }
.gift-choosing { margin-top: 60px; padding-top: 42px; border-top: 1px solid var(--line); }
.gift-choosing > h2 { margin-top: 0; }
.gift-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 28px; }
.gift-choice-grid article { min-width: 0; padding: 26px; background: rgba(18, 27, 45, .68); border: 1px solid var(--line-soft); border-radius: 14px; }
.gift-choice-grid h3 { margin: 0 0 14px; font-size: 1.65rem; line-height: 1.15; }
.gift-choice-grid p { margin-bottom: 0; font-size: .94rem; }

/* Context is chosen before the compatibility result; advice stays readable. */
.compatibility-context { display: grid; min-width: 0; grid-column: 1 / -1; gap: 8px; }
.compatibility-context select { min-height: 48px; font-size: 16px; }
.compatibility-practical { margin-top: 30px; padding: clamp(22px, 3vw, 34px); text-align: left; background: rgba(214, 179, 106, .04); border: 1px solid var(--line); border-radius: 16px; }
.compatibility-practical > h3 { margin: 0 0 24px; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }
.compatibility-practical__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.compatibility-practical__grid > article { min-width: 0; }
.compatibility-practical__grid h4 { margin: 0 0 12px; color: var(--gold-bright); font: 700 .94rem/1.4 var(--sans); letter-spacing: 0; }
.compatibility-practical__grid p { margin: 0; color: var(--silver); font-size: .94rem; line-height: 1.65; }
.compatibility-practical__note { margin: 24px 0 0; padding-top: 18px; color: var(--silver); border-top: 1px solid var(--line-soft); font-size: .9rem; line-height: 1.65; }

@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    padding: 12px 20px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(7, 9, 19, .99);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { width: min(100%, 700px); margin: 0 auto; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: flex; min-height: 52px; padding: 13px 4px; font-size: .83rem; border-bottom: 1px solid var(--line-soft); }
  .site-nav a::after { display: none; }
}

@media (max-width: 980px) {
  .tool-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-intro { gap: 28px; }
  .gift-intro h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
  .gift-teaser > div { padding: 30px; }
  .gift-teaser h2 { font-size: 2.6rem; }
}

@media (min-width: 721px) and (max-width: 960px) {
  .portal { min-height: 720px; }
  .portal__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding-top: 0; text-align: left; }
  .portal .sky-instrument { width: 100%; min-width: 0; }
  .portal__actions, .portal__truth { justify-content: flex-start; }
  .portal__actions .button { font-size: .83rem; }
}

@media (max-width: 720px) {
  .site-header__inner { gap: 10px; }
  .portal { min-height: 0; padding-top: calc(var(--header-h) + 34px); padding-bottom: 36px; }
  .portal__layout { padding-top: 0; gap: 36px; }
  .portal__copy h1 { font-size: clamp(2.7rem, 12vw, 4.4rem); }
  .portal .sky-instrument { width: min(84vw, 400px); }
  .portal__actions .button { width: 100%; }
  .front-section { padding-block: 58px; }
  .front-section--return { padding-top: 22px; padding-bottom: 0; }
  .front-section--moon { padding-top: 30px; padding-bottom: 44px; }
  .front-section--gifts { padding-top: 0; }
  .section-intro { margin-bottom: 28px; }
  .tool-paths { grid-template-columns: 1fr; }
  .tool-path { min-height: 202px; padding: 24px; }
  .tool-path h3 { margin-top: 30px; max-width: 290px; font-size: 1.8rem; }
  .tool-path__glyph { top: 16px; right: 22px; }
  :is(.astrolog-birth-page, .astrolog-page-mankalender, .astrolog-page-stjarntecken-kompatibilitet, .astrolog-page-himlen-just-nu, .astrolog-page-ar-merkurius-retrograd, .astrolog-page-dagens-kosmiska-vader, .astrolog-page-presenter) .site-main { padding-top: calc(var(--header-h) + 26px); }
  .content-hero .eyebrow { margin-bottom: 14px; }
  .saved-sky__cards, .compatibility-practical__grid { grid-template-columns: 1fr; }
  .saved-sky__card { padding-block: 14px; }
  .saved-sky__card h3 { margin-bottom: 3px; }
  .saved-sky__card a { font-size: 1.5rem; }
  .lunar-summary { grid-template-columns: 1fr; gap: 14px; }
  .lunar-summary > article { padding: 22px; }
  .lunar-controls { align-items: stretch; padding: 18px; }
  .lunar-controls form { width: 100%; }
  .lunar-controls label { flex: 1 1 auto; }
  .lunar-controls > div { width: 100%; }
  .lunar-controls > div > .button { flex: 1 1 140px; }
  .lunar-table { overflow: visible; border: 0; border-radius: 0; }
  .lunar-table table, .lunar-table caption { display: block; }
  .lunar-table caption { padding: 0 0 18px; }
  .lunar-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lunar-table tbody { display: grid; gap: 12px; }
  .lunar-table tbody tr { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 7px; background: #0d1525; border: 1px solid var(--line); border-radius: 12px; }
  .lunar-table td { display: block; min-width: 0; padding: 10px; border: 0; font-size: .94rem; }
  .lunar-table td::before { display: block; margin-bottom: 4px; content: attr(data-label); color: var(--silver); font-size: .68rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
  .gift-intro, .gift-teaser, .gift-grid, .gift-choice-grid { grid-template-columns: 1fr; }
  .gift-intro { gap: 28px; margin-bottom: 38px; }
  .gift-intro h1 { font-size: clamp(2.6rem, 11.5vw, 4rem); }
  .gift-intro figure { border-radius: 18px; }
  .gift-teaser { border-radius: 18px; }
  .gift-teaser > div { padding: 28px 24px 34px; }
  .gift-teaser h2 { font-size: clamp(2.2rem, 9.5vw, 3.2rem); }
  .gift-teaser .button { width: 100%; }
  .gift-toolbar { padding: 18px; gap: 14px; }
  .gift-toolbar label { flex-basis: 100%; }
  .gift-grid { gap: 22px; }
  .gift-card__content { padding: 24px; }
  .gift-actions .button { flex: 1 1 100%; }
  .gift-note { padding: 15px 17px; }
  .gift-greeting { padding: 18px; }
  .compatibility-practical__grid { gap: 22px; }
  .compatibility-practical__grid > article + article { padding-top: 20px; border-top: 1px solid var(--line-soft); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .will-reveal { opacity: 1; transform: none; }
  .gift-card, .gift-teaser, .saved-sky { animation: none; transition: none; }
}

/* A4 calendar document. The annual table, source and timezone are retained.
   297mm - 24mm margins - 8mm reserve = 265mm planned content height.
   Browser PDF and actual iOS preview remain separate acceptance checks. */
@media print {
  @page { size: A4 portrait; margin: 12mm 14mm; }
  body.astrolog-page-mankalender { min-width: 0 !important; color: #152033 !important; background: white !important; font: 10pt/1.3 Arial, sans-serif; }
  body.astrolog-page-mankalender::before { display: none !important; }
  body.astrolog-page-mankalender > :not(#main-content),
  .astrolog-page-mankalender #main-content > :not(.content-page),
  .astrolog-page-mankalender .content-page > :not(.entry-content),
  .astrolog-page-mankalender .entry-content > :not(.lunar-calendar) { display: none !important; }
  .astrolog-page-mankalender :where(#main-content, .content-page, .entry-content, .lunar-calendar, .lunar-table) {
    position: static !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .astrolog-page-mankalender .lunar-calendar :is(.lunar-summary, .lunar-controls, .lunar-year-nav, button, .no-print) { display: none !important; }
  .astrolog-page-mankalender .lunar-calendar :is(h2, h3, p, caption, th, td, a) { color: #152033 !important; text-shadow: none !important; }
  .astrolog-page-mankalender .lunar-calendar h2 { margin: 0 0 4mm; font-size: 18pt; line-height: 1.1; }
  .astrolog-page-mankalender .lunar-print-heading { display: block; }
  .astrolog-page-mankalender .lunar-calendar > p { margin: 0 0 4mm; font-size: 9pt; line-height: 1.35; }
  .astrolog-page-mankalender .lunar-table table { display: table !important; width: 100%; margin: 0; border-collapse: collapse; }
  .astrolog-page-mankalender .lunar-table caption { display: table-caption; margin: 0; padding: 0 0 4mm; font-size: 12pt; line-height: 1.15; }
  .astrolog-page-mankalender .lunar-table thead { position: static; display: table-header-group !important; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .astrolog-page-mankalender .lunar-table tbody { display: table-row-group !important; }
  .astrolog-page-mankalender .lunar-table tr { display: table-row !important; padding: 0; background: none !important; border: 0; break-inside: avoid; page-break-inside: avoid; }
  .astrolog-page-mankalender .lunar-table :is(th, td) { display: table-cell !important; padding: 2.05mm 3mm; background: none !important; border: 0; border-bottom: .2mm solid #cbd0d8; font-size: 9.7pt; line-height: 1.25; letter-spacing: 0; }
  .astrolog-page-mankalender .lunar-table th { font-size: 8.5pt; }
  .astrolog-page-mankalender .lunar-table td::before { display: none !important; }
  .astrolog-page-mankalender .lunar-calendar a { text-decoration: none; }
  .astrolog-page-mankalender .lunar-method { margin-top: 4mm; font-size: 8.5pt; line-height: 1.35; break-inside: avoid; }
  .astrolog-page-mankalender .lunar-table[hidden],
  .astrolog-page-mankalender .lunar-calendar [hidden] { display: none !important; }
}
