/* Styly titulní stránky: fonts.css, magazin.css, paticka.css, natal-mista.css, rozsireni.css */

/* fonts.css */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(barlow-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(barlow-400-latin.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;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(barlow-600-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(barlow-600-latin.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;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(barlow-condensed-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(barlow-condensed-700-latin.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;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(barlow-condensed-800-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(barlow-condensed-800-latin.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;
}


@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Arial Bold'), local('Liberation Sans Bold');
  font-weight: 700 900;
  size-adjust: 82%;
}

/* magazin.css */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #efeeec; color: var(--ink); font: 400 16px/1.4 var(--body); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #166bc1; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 16px; background: var(--paper); }
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }
.paper { max-width: 1240px; margin: auto; padding: 9px clamp(12px, 2.3vw, 30px) 0; min-height: 100vh; background: var(--paper); }
.periods a:hover { color: var(--red); }
.frontpage { display: grid; gap: 9px; grid-template-columns: minmax(0, 3fr) minmax(0, 1.03fr); grid-template-areas: "eclipse tarot" "zn tarot"; }
.eclipse, .tarot-hero { position: relative; isolation: isolate; overflow: hidden; background: #23171a; }
.eclipse { grid-area: eclipse; min-height: clamp(250px, 30vw, 365px); }
.eclipse img, .tarot-hero img, .mosaic-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.eclipse img { object-position: 58% 48%; }
.eclipse::before, .tarot-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; }
.eclipse::before { background: linear-gradient(90deg,#0a0b10b0, #0a0b100d 75%),linear-gradient(0deg, #0a0b1070, transparent 43%); }
.eclipse-copy { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: inherit; padding: 16px clamp(14px, 2.6vw, 32px); color: #fff; }
.flag { display: inline-block; padding: .11em .38em .16em; color: #fff; background: var(--red); font: 800 clamp(15px, 1.9vw, 24px)/1 var(--head); text-transform: uppercase; letter-spacing: .005em; }
.eclipse-copy p { margin: 7px 0 13px; font: 800 clamp(49px, 7.35vw, 102px)/.93 var(--head); letter-spacing: -.035em; }
.eclipse-copy p span { display: inline-block; white-space: nowrap; padding: .008em .10em .075em; margin-bottom: 4px; background: var(--paper); color: var(--ink); }
.eclipse-copy p span:last-child { color: var(--red); }
.eclipse-link { font: 700 21px/1.05 var(--head); text-shadow: 0 2px 7px #000; }
.eclipse-link b, .tarot-link b { padding-left: .22em; }
.tarot-hero { grid-area: tarot; color: #fff; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 9px 10px 12px; }
.tarot-hero img { object-position: 47% 51%; }
.tarot-hero::before { background: linear-gradient(180deg,#090608ce, transparent 27%, transparent 71%,#090608aa); }
.tarot-title { font: 800 clamp(28px, 4vw, 55px)/.95 var(--head); text-transform: uppercase; letter-spacing: -.02em; text-shadow: 0 2px 7px #000; }
.tarot-link { color: var(--ink); background: var(--paper); padding: 4px 11px 7px; font: 800 clamp(19px, 2.6vw, 33px)/1 var(--head); }
.tarot-hero:hover .tarot-link, .eclipse:hover .flag { background: var(--red); color: white; }
.zodiac { grid-area: zn; border: 1px solid var(--line); }
.zodiac h1 { margin: 0; padding: 2px 10px 6px; border-bottom: 1px solid var(--line); font: 800 clamp(27px, 3.65vw, 42px)/.94 var(--head); letter-spacing: -.015em; }
.zodiac h1::first-letter { text-transform: uppercase; }
.sign-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.sign-grid li+li { border-left: 1px solid var(--line); }
.sign-grid a { display: grid; justify-items: center; gap: 3px; min-height: 66px; padding: 5px 1px; font: 700 clamp(13px, 1.55vw, 18px)/1 var(--head); }
.sign-grid a span { color: var(--red); font: 27px/1 "DejaVu Sans", "Arial Unicode MS", sans-serif; }
.sign-grid a:hover { background: #f9e8e7; }
.zodiac-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; margin: 15px 0 0; border-block: 1px solid var(--line); }
.periods { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; gap: 0 8px; }
.periods a { padding: 12px 8px 9px; font: 700 clamp(17px, 1.85vw, 23px)/1.05 var(--head); border-bottom: 3px solid transparent; }
.periods a.selected { border-color: var(--red); color: var(--red); }
.my-sign { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 0 6px 14px; border-left: 1px solid var(--line); }
.my-sign label { white-space: nowrap; font: 800 clamp(16px,1.8vw,22px)/1 var(--head); }
.my-sign input { width: clamp(108px,14vw,155px); }
.my-sign button, .widget input[type=submit] { border: 1px solid var(--red); background: var(--red); color: white; font-weight: 600; padding: 6px 10px; }
.my-sign input, .widget :is(input:not([type=checkbox],[type=radio],[type=submit],[type=hidden]),select) { min-height: 34px; border: 1px solid #a39f9b; border-radius: 0; padding: 3px 6px; color: var(--ink); background: white; }
.my-sign button:hover, .widget input[type=submit]:hover { background: var(--dark-red); }
.shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 9px; border: 1px solid var(--line); }
.shortcuts a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 13px clamp(8px, 1.6vw, 19px); min-height: 84px; font: 800 clamp(20px,2.65vw,31px)/.94 var(--head); }
.shortcuts a+a { border-left: 1px solid var(--line); }
.shortcut-icon { color: var(--red); font: 37px/1 "DejaVu Sans", sans-serif; }
.person-icon, .couple-icon { display: block; position: relative; width: .83em; height: .87em; }
.person-icon::before, .couple-icon::before { content: ""; position: absolute; top: .03em; left: .22em; width: .30em; height: .30em; border: 1.6px solid currentColor; border-radius: 50%; }
.person-icon::after, .couple-icon::after { content: ""; position: absolute; bottom: .05em; left: .09em; width: .58em; height: .36em; border: 1.6px solid currentColor; border-radius: .45em .45em 0 0; }
.couple-icon { width: 1em; }
.couple-icon::before { left: .12em; box-shadow: .46em 0 0 -1.6px var(--paper), .46em 0 0 currentColor; }
.couple-icon::after { left: 0; width: .49em; box-shadow: .46em .03em 0 -1.6px var(--paper), .46em .03em 0 currentColor; }
.shortcuts b { color: var(--red); font: 600 24px/1 var(--body); }
.shortcuts a:hover, .service-columns a:hover { background: #f9ebea; }
.magazine { margin-top: 20px; border-block: 1px solid var(--line); padding: 17px 0; }
.magazine-head { margin-bottom: 15px; }
.magazine-head h2, .section-title { margin: 0; font: 800 clamp(43px, 6.1vw, 76px)/.93 var(--head); letter-spacing: -.025em; }
.magazine-head p { margin: 9px 0 3px; max-width: 73ch; font: 600 clamp(17px, 2.15vw, 26px)/1.27 var(--body); }
.mosaic { display: grid; grid-template-columns: minmax(0,1.48fr) repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); height: clamp(324px, 46vw, 542px); gap: 8px; }
.mosaic-card { position: relative; display: flex; align-items: flex-end; padding: 7px; min-width: 0; isolation: isolate; overflow: hidden; background: #1b202c; }
.mosaic-card:first-child { grid-row: span 2; }
.mosaic-card img { object-position: 50% 45%; }
.mosaic-card::before { content: ""; position: absolute; z-index: -1; inset: 30% 0 0; background: linear-gradient(0deg,#0009,transparent 65%); }
.mosaic-caption { width: 100%; }
.mosaic-caption .flag { font-size: clamp(13px,1.65vw,21px); }
.mosaic-caption span:last-child { display: block; padding: 3px 6px 6px; background: var(--paper); font: 800 clamp(19px,3.05vw,39px)/.97 var(--head); letter-spacing: -.02em; }
.mosaic-card:not(:first-child) .mosaic-caption span:last-child { font-size: clamp(18px,2.48vw,31px); }
.mosaic-card:hover .mosaic-caption span:last-child { color: var(--red); }
.services, .article-section, .widgets { margin-top: 26px; border-top: 1px solid var(--line); padding: 16px 0 0; }
.section-title::before { display: block; content: ""; position: absolute; width: 83px; height: 4px; top: -17px; left: 0; background: var(--red); }
.section-title { position: relative; }
.service-columns { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 18px 0; }
.service-columns section { padding: 0 14px; border-left: 1px solid var(--line); min-width: 0; }
.service-columns section:first-child { border: 0; padding-left: 0; }
.service-columns section:last-child { padding-right: 0; }
.service-columns h3 { margin: 0; padding: 0 0 6px; border-bottom: 2px solid var(--red); color: var(--red); font: 800 clamp(22px, 2.9vw, 37px)/.98 var(--head); letter-spacing: -.02em; }
.service-columns ul { margin: 0; padding: 0; list-style: none; }
.service-columns li { border-bottom: 1px solid var(--line); }
.service-columns a { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 40px; padding: 5px 4px; font: 700 clamp(17px, 1.95vw, 24px)/1 var(--head); }
.service-columns a span, .category-bar a span, .section-head a span, .recommendations span { color: var(--red); }
.category-bar { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 10px 0; padding: 7px 0; border-block: 1px solid var(--line); }
.category-bar a { padding: 5px; text-align: center; font: 800 clamp(18px, 2.3vw, 28px)/1.05 var(--head); }
.category-bar a+a { border-left: 1px solid var(--line); }
.category-bar a:hover { color: var(--red); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 15px; }
.section-head a { color: var(--muted); font-weight: 600; }
.widget-grid { margin: 16px 0; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 12px; }
.widget-stack { display: grid; gap: 12px; align-content: start; }
.widget, .more-card { min-width: 0; border: 1px solid var(--line); background: #faf8f6; padding: 12px clamp(11px,2vw,20px) 15px; }
.widget h3, .more-card h2 { margin: 0 0 9px; font: 800 33px/1 var(--head); }
.widget .bio_part1 { display: none; }
.widget .bio_part2 { margin: 5px 0; }
.widget .natal_form { width: 100%; border-collapse: collapse; }
.widget .natal_form td { padding: 3px 8px 3px 0; }
.widget .natal_form td p { margin: 0; }
.widget .natal_form td :is(input[type=text],input:not([type])) { width: min(250px,100%); }
.widget form input[type=submit] { margin: 9px 0 0 !important; }
.widget #ajax_loading { display: none; vertical-align: middle; }
.widget #ajax_loading img { display: inline; }
.widget a[href^="https://www.horoskop.cz/on-line-vyklady/horoskopy-zdarma-on-line-vypocet/"] { display: inline-block; float: none !important; margin: 8px 0 0 !important; color: var(--red) !important; font-weight: 600; }
.widget .ukazat_na_mape { display: none; }
.more { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; margin: 20px 0; }
#astrocelebrity img { float: left; width: min(36%,100px); height: auto; margin-right: 12px; }
#astrocelebrity { display: flow-root; }
.astrocelebrity_jmeno { font-weight: 600; }
.astrocelebrity-pair, .more:has(.astrocelebrity-pair) .recommendations { grid-column: 1 / -1; }
.astrocelebrity-pair { padding: clamp(13px,2vw,24px); }
.astrocelebrity-pair > header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.astrocelebrity-pair > header h2 { margin: 0; font-size: clamp(31px,4vw,42px); }
.astrocelebrity-pair > header time { color: var(--muted); font-weight: 600; }
.astrocelebrity-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px,2vw,22px); }
.astrocelebrity-person { display: grid; grid-template-columns: minmax(0,40%) minmax(0,1fr); gap: clamp(12px,2vw,23px); min-width: 0; border: 1px solid var(--line); background: #fff; }
.astrocelebrity-photo { position: relative; display: grid; align-items: center; margin: 0; overflow: hidden; min-height: 175px; background: #f0e5e0; color: #895c54; text-align: center; }
.astrocelebrity-photo > span { font-size: clamp(45px,8vw,80px); }
.astrocelebrity-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.astrocelebrity-details { min-width: 0; padding: 13px 9px 13px 0; }
.astrocelebrity-details h3 { margin: 0 0 5px; font: 800 clamp(24px,3vw,38px)/.98 var(--head); overflow-wrap: anywhere; }
.astrocelebrity-role { margin: 0 0 9px; }
.astrocelebrity-birth { margin: 0 0 9px; color: var(--muted); font-size: .93rem; }
.astrocelebrity-sign { display: inline-block; color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.astrocelebrity-credit { margin: 12px 0 16px; color: var(--muted); font-size: .82rem; }
.astrocelebrity-credit a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .astrocelebrity-grid { grid-template-columns: minmax(0,1fr); }
  .astrocelebrity-person { grid-template-columns: minmax(0,min(40%,210px)) minmax(0,1fr); }
}
@media (min-width: 761px) {
  .astrocelebrity-person { min-height: clamp(190px,22vw,270px); }
}
.recommendations a { display: block; padding: 4px 0; border-bottom: 1px solid var(--line); }
.recommendations a:hover { color: var(--red); }
@media (max-width: 1020px) {
  .sign-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .sign-grid li:nth-child(n+7) { border-top: 1px solid var(--line); }
  .sign-grid li:nth-child(7) { border-left: 0; }
  .sign-grid a { min-height: 50px; }
  .zodiac-tools { flex-wrap: wrap; gap: 0 16px; }
  .my-sign { margin-left: auto; }
}
@media (max-width: 760px) {
  .frontpage { grid-template-columns: minmax(0,2.25fr) minmax(0,1fr); grid-template-areas: "eclipse tarot" "zn zn"; }
  .eclipse { min-height: 238px; }
  .eclipse-copy p { font-size: clamp(43px,8vw,64px); }
  .tarot-title { text-align: center; font-size: clamp(25px,5vw,36px); }
  .tarot-link { text-align: center; font-size: clamp(19px,4.5vw,25px); }
  .my-sign { margin-left: 0; border-left: 0; padding-left: 0; flex-wrap: wrap; }
  .periods a { padding: 9px 6px; }
  .shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shortcuts a { min-height: 62px; }
  .shortcuts a:nth-child(3) { border-left: 0; }
  .shortcuts a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 0; }
  .service-columns section:nth-child(3) { border: 0; padding-left: 0; }
  .widget-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 480px) {
  .frontpage { grid-template-columns: minmax(0,1fr); grid-template-areas: "eclipse" "zn" "tarot"; }
  .eclipse { min-height: 218px; }
  .eclipse img { object-position: 65% center; }
  .eclipse-copy { padding: 12px; }
  .eclipse-copy p { font-size: clamp(40px,10.9vw,54px); }
  .tarot-hero { min-height: 137px; align-items: flex-start; padding: 10px 12px; }
  .tarot-hero img { object-position: center 45%; }
  .tarot-hero::before { background: linear-gradient(90deg,#090608d5, transparent 90%); }
  .shortcuts a { gap: 5px; padding: 8px; font-size: 21px; }
  .shortcut-icon { font-size: 24px; }
  .shortcuts b { font-size: 17px; }
  .magazine-head h2, .section-title { font-size: clamp(39px,10vw,48px); }
  .mosaic { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 190px repeat(2,130px); height: auto; }
  .mosaic-card:first-child { grid-column: 1/-1; grid-row: auto; }
  .mosaic-card:first-child img { object-position: center 43%; }
  .mosaic-caption span:last-child, .mosaic-card:not(:first-child) .mosaic-caption span:last-child { font-size: 21px; }
  .category-bar { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 0; }
  .category-bar a:nth-child(3) { border-left: 0; }
  .more { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


.magazin-home .widget #biorytmy span[style*="silver"] { color: var(--muted) !important; }
.magazin-home .widget #zadani_polohy_ajax { display: block; max-width: 100%; }

@media (min-width: 761px) {
  .magazin-home .shortcuts a { min-height: 94px; }
}
@media (max-width: 550px) {
  .periods { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: 0; }
  .periods a { display: grid; place-items: center; text-align: center; min-height: 40px; padding: 5px 4px; }
  .my-sign { display: grid; grid-template-columns: minmax(0,1fr) minmax(90px,1fr) auto; width: 100%; }
  .my-sign label { white-space: normal; }
  .my-sign input { min-width: 0; width: 100%; }
  .widget .natal_form { table-layout: fixed; }
  .widget .natal_form td:first-child:not([colspan]) { width: 38%; }
  .widget :is(input,select) { max-width: 100%; }
}

/* paticka.css */
.magazin-dalsi-cteni {
  position: relative;
  box-sizing: border-box;
  clear: both;
  margin-top: 28px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font: 400 16px/1.45 var(--body);
}
.magazin-dalsi-cteni::before {
  position: absolute;
  inset: -1px auto auto 0;
  width: 66px;
  height: 3px;
  background: var(--red);
  content: "";
}
.paticka-cteni-hlavicka {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 13px;
}
.magazin-dalsi-cteni h2 {
  margin: 0;
  color: var(--ink);
  font: 800 clamp(29px, 4vw, 46px)/1 var(--head);
  letter-spacing: -.015em;
}
.magazin-dalsi-cteni .paticka-cteni-hlavicka > a {
  color: var(--dark-red);
  font: 600 15px/1.28 var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-grid,
.magazin-dalsi-cteni .paticka-clanky {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.55vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.magazin-dalsi-cteni .paticka-clanky:not(.paticka-clanky-tri) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.article-grid > article,
.paticka-clanky > li { min-width: 0; margin: 0; }
.promo-clanek {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: #faf7f3;
  color: var(--ink);
  text-decoration: none;
}
.promo-clanek-obrazek {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f1eeea;
}
.promo-clanek-obrazek img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.promo-clanek-text {
  flex: 1;
  padding: clamp(12px, 1.4vw, 17px) clamp(12px, 1.4vw, 17px) 17px;
  overflow-wrap: anywhere;
}
.promo-clanek h3 {
  margin: 0;
  color: var(--ink);
  font: 800 clamp(23px, 2.5vw, 32px)/1.06 var(--head);
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.paticka-clanky .promo-clanek h3 { font-size: clamp(22px, 2.3vw, 29px); }
.promo-clanek-kategorie {
  display: block;
  margin-bottom: 4px;
  color: var(--dark-red);
  font: 700 16px/1.2 var(--head);
}
.promo-clanek small { display: block; margin-top: 7px; color: var(--muted); }
.promo-clanek p {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  font: 400 15px/1.45 var(--body);
}
.promo-clanek:hover { border-color: var(--red); }
.promo-clanek:hover h3 { color: var(--dark-red); }
.promo-clanek:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.article-section .section-head,
.inner-latest > .section-head {
  padding-top: 10px;
  border-top: 2px solid var(--red);
}
:is(.article-section, .inner-latest) .section-head > a {
  color: var(--dark-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 880px) {
  .article-grid,
  .magazin-dalsi-cteni .paticka-clanky,
  .magazin-dalsi-cteni .paticka-clanky:not(.paticka-clanky-tri) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .article-grid,
  .magazin-dalsi-cteni .paticka-clanky,
  .magazin-dalsi-cteni .paticka-clanky:not(.paticka-clanky-tri) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.magazin-paticka {
  box-sizing: border-box;
  clear: both;
  margin-top: 20px;
  padding: clamp(14px, 2.4vw, 29px);
  border-top: 4px solid var(--red);
  background: #1b1a19;
  color: #fff;
  font: 400 15px/1.4 var(--body);
}
.paper > .magazin-paticka { margin-bottom: 20px; }
.magazin-paticka a { color: #fff; text-decoration: none; }
.magazin-paticka a:hover { text-decoration: underline; text-underline-offset: 3px; }
.magazin-paticka :is(a, summary):focus-visible { outline: 2px solid #8cd1ff; outline-offset: 3px; }
.paticka-horni {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 22px;
}
.paticka-identita { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; }
.magazin-paticka .paticka-znacka { display: block; width: clamp(168px,16.75vw,214px); max-width: 100%; }
.paticka-znacka img { display: block; width: 100%; height: auto; }
.paticka-datum p { margin: 0; color: #eee8e3; }
.paticka-datum a { text-decoration: underline; text-underline-offset: 3px; }
.paticka-rubriky {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1 1 430px;
  gap: 10px 18px;
  max-width: 660px;
}
.paticka-rubriky h2 {
  margin: 0 0 5px;
  padding: 0 0 5px;
  border-bottom: 2px solid var(--red);
  color: #fff;
  font: 800 24px/1 var(--head);
}
.paticka-rubriky a { display: block; width: fit-content; padding: 2px 0; }
.paticka-spodni {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 17px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #6b6562;
}
.paticka-spodni small { color: #e0d9d4; font-size: 14px; }
.paticka-odkazy, .paticka-partneri { display: flex; flex-wrap: wrap; gap: 5px 16px; }
.magazin-paticka .paticka-upozorneni { margin: 10px 0; color: #e0d9d4; font-size: 14px; }
.paticka-partneri { padding-top: 10px; border-top: 1px solid #6b6562; font-size: 14px; }
.paticka-partneri > a:first-child { font-weight: 600; }
.paticka-dalsi { margin-top: 10px; }
.paticka-dalsi summary { width: fit-content; cursor: pointer; }
.paticka-dalsi .paticka-odkazy { padding-top: 8px; }
@media (max-width: 755px) {
  .paticka-rubriky { max-width: none; }
}
@media (max-width: 435px) {
  .paticka-rubriky { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .magazin-dalsi-cteni, .magazin-paticka { display: none; }
}

/* natal-mista.css */
#natal-mista {
  box-sizing: border-box; max-width: 510px; max-height: 248px; margin: 5px 0; padding: 0;
  overflow-y: auto; list-style: none; border: 1px solid var(--line); background: white;
}
#natal-mista li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 0 12px; min-height: 38px; padding: 8px 12px; cursor: pointer;
}
#natal-mista li + li { border-top: 1px solid var(--line); }
#natal-mista li:is(:hover,[aria-selected="true"]) { background: #f9e7e5; color: var(--dark-red); }
#natal-mista small, #natal-misto-stav { color: #59514b; }
#natal-misto-stav:not(:empty) { display: block; padding: 5px 0; }

@media (max-width:640px) {
  #natal-mista li { min-height: 44px; }
}

/* rozsireni.css */
.hs-main { min-width: 0; }
.hs-crumb { padding: 4px 0 12px; color: var(--muted); font-size: 15px; }
.hs-crumb a { text-decoration: underline; }
.hs-crumb span { padding: 0 4px; }
.hs-header { background: #f5f0ec; border-left: 4px solid var(--red); padding: clamp(17px,4vw,45px); margin-bottom: 24px; }
.hs-header h1 { margin: 0 0 10px; max-width: 25ch; font: 800 clamp(40px,6vw,75px)/.98 var(--head); letter-spacing: -.024em; }
.hs-header p { margin: 0; max-width: 66ch; font-size: clamp(17px,2.2vw,23px); }
.hs-main :is(h2,h3,h4), .hs-home h2 { margin: .65em 0 .25em; font: 800 34px/1.04 var(--head); }
.hs-main h3 { font-size: 28px; }
.hs-main h4 { font-size: 23px; }
.hs-home { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 24px; }
.hs-home h2 { font-size: clamp(33px,5vw,59px); }
.hs-home .hs-home-boxy { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 18px; }
.hs-home .hs-home-boxy a { border-left: 0; gap: 10px; }
.hs-home .hs-home-boxy a:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.hs-home .hs-home-boxy a:nth-child(n+4) { border-top: 1px solid var(--line); }
.hs-home-boxy svg { width: clamp(22px,3vw,33px); height: auto; fill: none; stroke: var(--red); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.hs-box-text { display: grid; gap: 5px; overflow-wrap: anywhere; }
.hs-box-text strong { font-weight: inherit; }
.hs-box-text small { font: 400 15px/1.2 var(--body); color: var(--muted); }
@media (max-width: 760px) {
  .hs-home .hs-home-boxy { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hs-home .hs-home-boxy a:nth-child(n) { border-left: 0; }
  .hs-home .hs-home-boxy a:nth-child(even) { border-left: 1px solid var(--line); }
  .hs-home .hs-home-boxy a:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .hs-home .hs-home-boxy a { gap: 5px; padding: 8px 6px; font-size: 19px; }
  .hs-home-boxy svg { width: 20px; }
  .hs-box-text small { font-size: 13px; }
}
.hs-main :is(a,button,input,select,summary,textarea):focus-visible,.hs-home :focus-visible { outline: 3px solid #146bc1; outline-offset: 3px; }
.hs-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr)); gap: 10px; margin: 12px 0 16px; }
.hs-card, .hs-result { border: 1px solid var(--line); background: #faf7f4; padding: clamp(12px,2.3vw,22px); min-width: 0; }
.hs-card h2 { margin: 4px 0; font-size: 29px; }
.hs-card a { text-decoration: underline; text-decoration-color: #d7a89f; text-underline-offset: 2px; }
.hs-card small { color: var(--dark-red); font-weight: 600; }
.hs-card p { margin: 6px 0 0; }
.hs-main :is(button,select,input,textarea), .hs-home :is(button,input) { font: inherit; }
.hs-main :is(button,input,select,textarea), .hs-home :is(button,input) { min-height: 42px; }
.hs-main :is(input,select,textarea):not([type=hidden],[type=checkbox]), .hs-home input { width: 100%; max-width: 100%; min-width: 0; border: 1px solid #a69e95; background: white; color: var(--ink); padding: 7px 9px; border-radius: 0; }
.hs-main button, .hs-home button { background: var(--red); color: white; border: 0; padding: 8px 13px; font-weight: 600; }
.hs-main button:hover, .hs-home button:hover { background: var(--dark-red); }
.hs-search { position: relative; max-width: 690px; margin: 0 0 18px; }
.hs-search label { display: block; margin-bottom: 6px; font: 800 29px/1 var(--head); }
.hs-search-row { display: flex; gap: 6px; }
.hs-search-row button { flex: 0 0 auto; }
.hs-options { list-style: none; background: white; padding: 0; margin: 4px 0; border: 1px solid var(--line); max-height: 238px; overflow: auto; }
.hs-options li { cursor: pointer; display: flex; justify-content: space-between; gap: 4px 12px; padding: 9px; border-bottom: 1px solid var(--line); }
.hs-options li:hover, .hs-options li[aria-selected=true] { background: #f9e9e6; }
.hs-options small { color: var(--muted); }
.hs-status:empty,.hs-profile-actions p:empty { display: none; }
.hs-status { margin: 4px 0; font-size: .9em; color: var(--muted); }
.hs-filters, .hs-inline { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 16px; margin: 10px 0 16px; }
.hs-filters nav { display: flex; flex-wrap: wrap; gap: 4px; }
.hs-filters :is(a,[aria-current=true]), .hs-links a, .hs-paging a { display: inline-block; border: 1px solid var(--line); padding: 7px 9px; text-decoration: none; background: #faf7f4; }
.hs-filters [aria-current=true], .hs-links a:hover, .hs-paging a:hover { color: var(--dark-red); border-color: var(--red); }
.hs-filters form { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.hs-filters select, .hs-inline input { width: auto !important; }
.hs-paging, .hs-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 22px; }
.hs-links span { color: var(--red); }
.hs-reading { max-width: 72ch; font-size: 18px; line-height: 1.58; margin: 0 0 24px; }
.hs-calculator, .hs-person, .hs-place, .hs-extra { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 16px; }
.hs-calculator { margin: 20px 0; max-width: 900px; }
.hs-calculator > :is(fieldset,datalist,button,a,details) { grid-column: 1/-1; }
.hs-calculator > :is(button,a) { justify-self: start; }
.hs-calculator a, .hs-result > a { text-decoration: underline; }
.hs-person { margin: 0; border: 1px solid var(--line); padding: 14px; min-width: 0; background: #f9f6f3; }
.hs-person legend { font: 800 27px/1 var(--head); padding: 0 5px; }
.hs-person :is(label,input,select) { min-width: 0; }
.hs-person .hs-check { display: flex; align-items: center; gap: 5px; }
.hs-person input[type=checkbox] { min-height: 0; }
.hs-person .hs-place,.hs-person details,.hs-profile-actions { grid-column: 1/-1; }
.hs-extra { display: block; border-top: 1px solid var(--line); padding-top: 7px; }
.hs-extra label { display: inline-block; width: min(230px,100%); margin-right: 6px; }
.hs-profile-actions { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.hs-profile-actions select { width: auto !important; }
.hs-history { border-top: 1px solid var(--line); padding-top: 10px; }
.hs-history li { margin: 6px 0; }
.hs-history [role=status]:empty { display: none; }
.hs-note { border-left: 3px solid var(--red); background: #f8efea; padding: 10px; }
.hs-result { margin: 14px 0; }
.hs-reading-piece { border-top: 1px solid var(--line); }
.hs-chart-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; align-items: start; }
.hs-table { overflow-x: auto; }
.hs-table table { width: 100%; border-collapse: collapse; }
.hs-table :is(th,td) { text-align: left; border-bottom: 1px solid var(--line); padding: 5px 8px 5px 3px; }
.hs-table thead { color: var(--dark-red); }
.hs-main [id]:target { scroll-margin-top: 16px; }
.hs-main tr:target { background: #f4e0d8; }
.hs-wheel { margin: 8px 0; width: min(100%,520px); }
.hs-wheel svg { width: 100%; height: auto; display: block; }
.hs-wheel text { font: 13px/1 system-ui,sans-serif; dominant-baseline: central; text-anchor: middle; fill: var(--ink); }
.hs-wheel .hs-zodiac-symbol { font-size: 17px; fill: var(--red); }
.hs-ring-bg { fill: #fffcf9; }
.hs-ring { stroke: #bfb3a5; stroke-width: 1; fill: none; }
.hs-houses { stroke: #c9b5a8; stroke-width: 1; fill: none; }
.hs-wheel-point circle { fill: var(--red); }
.hs-wheel-point text { fill: #fff; font-weight: bold; }
.hs-layer-1 circle { fill: #29536d; }
.hs-aspect-line { stroke: #ab7266; opacity: .66; stroke-width: 1; }
.hs-wheel a:is(:hover,:focus-visible) .hs-aspect-line { stroke-width: 3; opacity: 1; }
.hs-house-list { columns: 3; }
.hs-footer { margin-top: 26px; }
.hs-numbers { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 5px 14px; }
.hs-numbers dd { margin: 0; }
.hs-number-grid { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 340px; }
.hs-number-grid div { text-align: center; border: 1px solid var(--line); padding: 6px; }
.hs-number-grid span { display: block; }
@media (max-width:640px) {
  .hs-chart-grid { grid-template-columns: minmax(0,1fr); }
  .hs-person,.hs-calculator { grid-template-columns: minmax(0,1fr); }
  .hs-place { grid-template-columns: minmax(0,1fr); }
  .hs-options li { flex-wrap: wrap; }
  .hs-house-list { columns: 2; }
}
/* Vánoční reklama na titulní stránce */
.vanocni-horoskopy-pozice {
  max-width: 970px;
  margin: clamp(20px, 3.2vw, 38px) auto;
}
.vanocni-horoskopy-pozice .vanocni-horoskopy-reklama {
  margin: 0 0 5px;
  color: #59565a;
  font: 400 12px/1.2 var(--body);
  text-align: right;
}
.vanocni-horoskopy {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 202px;
  overflow: hidden;
  border: 1px solid #91613e;
  background: radial-gradient(ellipse at 68% 20%, #591827, #2b0711 75%);
  color: #fff7e9;
  text-decoration: none;
}
.vanocni-horoskopy:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.vanocni-horoskopy-obraz {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(51%, 420px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 36%);
}
.vanocni-horoskopy-obraz img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}
.vanocni-horoskopy-obraz::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(108deg, transparent 35%, rgb(255 215 146 / 45%) 50%, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0;
}
.vanocni-horoskopy-text {
  position: relative;
  z-index: 1;
  justify-self: start;
  box-sizing: border-box;
  width: 63%;
  padding: 18px clamp(18px, 4vw, 44px);
}
#vanocni-horoskopy-web {
  color: #f4ce9a;
  font-size: 14px;
  font-weight: 700;
}
.vanocni-horoskopy-titulek {
  display: grid;
  align-items: center;
  margin: 6px 0 4px;
  font: 800 clamp(33px, 4.35vw, 54px)/.98 var(--head);
  letter-spacing: -.018em;
}
.vanocni-horoskopy-titulek > * { grid-area: 1 / 1; }
.vanocni-horoskopy-titulek > span { opacity: 0; }
.vanocni-horoskopy-titulek h2 {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.vanocni-horoskopy-titulek h2 span { color: #f2c98d; white-space: nowrap; }
.vanocni-horoskopy-text p { margin: 0 0 10px; font-size: 15px; }
.vanocni-horoskopy-odkaz {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 12px;
  border: 1px solid #f7d69f;
  background: linear-gradient(110deg, #ffe2ad, #e8b56f);
  color: #321019;
  font-weight: 700;
}
.vanocni-horoskopy:hover .vanocni-horoskopy-odkaz { background: #ffe6b9; text-decoration: underline; }

@media (max-width: 620px) {
  .vanocni-horoskopy { min-height: 182px; }
  .vanocni-horoskopy-text { width: 70%; padding: 14px; }
  .vanocni-horoskopy-titulek { font-size: clamp(30px, 7.6vw, 40px); }
  .vanocni-horoskopy-obraz { width: 50%; mask-image: linear-gradient(90deg, transparent, #000 62%); }
  .vanocni-horoskopy-obraz img { object-position: 54% center; }
  .vanocni-horoskopy-text p { font-size: 13px; line-height: 1.2; }
}

@media (prefers-reduced-motion: no-preference) {
  .vanocni-horoskopy-hraje .vanocni-horoskopy-titulek > span { animation: vanocni-otazka 2.1s both; }
  .vanocni-horoskopy-hraje .vanocni-horoskopy-titulek h2 { animation: vanocni-vyklad 2.4s both; }
  .vanocni-horoskopy-hraje .vanocni-horoskopy-obraz::after { animation: vanocni-odlesk 1.65s 2s ease-out both; }
}
@keyframes vanocni-otazka {
  0% { opacity: 0; transform: translateY(7px); }
  18%, 77% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes vanocni-vyklad {
  0%, 77% { opacity: 0; transform: translateY(7px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes vanocni-odlesk {
  0% { opacity: 0; transform: translateX(-80%); }
  27%, 62% { opacity: 1; }
  100% { opacity: 0; transform: translateX(80%); }
}
