/* linda-jelinkova.com — faithful rebuild of the Squarespace design.
   Grey and white sections separated by black hand-drawn waves, teal headings, pill buttons,
   brush underlines and circles, big scrolling section titles. */
:root {
  --grey: #efedee;
  --white: #ffffff;
  --ink: #000000;
  --muted: #6b6b6b;
  --teal: #7aced1;
  --teal-dark: #5fb9bc;
  --field: #9ddad6;
  --orange: #e3922b;
  --teal-light: #9edcdc;
  --coral: #f07774;
  --lav: #c4c2f8;
  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1600px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 58px); }
.grey { background: var(--grey); }
.white { background: var(--white); }
.tealbg { background: var(--teal); color: #fff; }
.sec { padding-block: clamp(48px, 7vw, 96px); }
.center { text-align: center; }
.t-teal { color: var(--teal); }
.big { font-size: clamp(2.4rem, 6.2vw, 5.4rem); font-weight: 600; }
.huge { font-size: clamp(2.8rem, 8vw, 6.6rem); font-weight: 600; }
.mid { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.sub { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 400; }
.justify { text-align: justify; hyphens: auto; }

/* header */
.site-header { background: var(--grey); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; }
.logo { font-family: var(--display); font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 500; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a, .dd > button { font-family: var(--body); font-size: 1rem; text-decoration: none; color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a[aria-current="page"], .dd.cur > button { text-decoration: underline; text-underline-offset: 6px; }
.nav > a:hover, .dd > button:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav > a.pill { background: var(--teal); text-decoration: none; color: #fff; }
.nav > a.pill:hover { background: var(--teal-dark); text-decoration: none; color: #fff; }
.dd { position: relative; }
.dd svg { width: 14px; height: 14px; }
.dd-menu { position: absolute; top: calc(100% + 10px); left: -16px; background: var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); padding: 10px 0; min-width: 210px; display: none; }
.dd.open .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: block; padding: 9px 18px; text-decoration: none; }
.dd-menu a:hover { background: var(--grey); }
.pill { display: inline-flex; align-items: center; justify-content: center; text-align: center; font-family: var(--body); font-weight: 400; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; color: #fff; background: var(--teal); border: 0; border-radius: 999px; padding: 20px 36px; cursor: pointer; transition: background .15s ease; }
.pill:hover { background: var(--teal-dark); color: #fff; }
.pill:disabled, .pill:disabled:hover { background: var(--teal); opacity: .45; cursor: not-allowed; }
.pill.dark, .pill.dark:hover { color: var(--ink); }
.pill.wide { min-width: min(100%, 438px); }
.pill.xwide { min-width: min(100%, 774px); }
.nav .pill { padding: 18px 32px; }
.menu-btn { display: none; font: inherit; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 28px; height: 2px; background: var(--ink); margin: 6px 0; }
@media (max-width: 1180px) {
  .site-header .wrap { gap: 14px; }
  .logo { font-size: 1.05rem; white-space: normal; max-width: 210px; line-height: 1.25; }
  .nav { gap: 14px; }
  .nav > a, .dd > button { font-size: 0.9rem; }
  .logo { max-width: 190px; }
  .nav .pill { padding: 12px 18px; font-size: 0.85rem; }
}
@media (max-width: 700px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--grey); flex-direction: column; align-items: flex-start; gap: 18px; padding: 10px clamp(16px, 4vw, 58px) 28px; display: none; border-bottom: 1px solid #d9d6d7; }
  .nav.open { display: flex; }
  .nav > a, .dd > button { font-size: 1.3rem; font-family: var(--display); }
  .dd-menu { position: static; box-shadow: none; background: none; display: block; padding: 4px 0 0 14px; }
  .dd-menu a { padding: 6px 0; font-size: 1.05rem; }
}

/* black waves between sections */
.wave { display: block; width: 100%; height: clamp(46px, 7vw, 110px); margin: -1px 0; }
.wave .line { fill: none; stroke: #000; stroke-width: 5; vector-effect: non-scaling-stroke; }
.wave.thin .line { stroke-width: 2; }

/* brush underline and circle highlights */
.u { position: relative; display: inline-block; }
.u::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.14em; height: 0.2em; background: var(--uline) center / 100% 100% no-repeat; pointer-events: none; }
.o { position: relative; display: inline-block; white-space: nowrap; }
.o::after { content: ""; position: absolute; inset: -0.3em -0.4em -0.32em -0.35em; background: var(--oline) center / 100% 100% no-repeat; pointer-events: none; }

/* hero */
.hero { text-align: center; padding-block: clamp(36px, 5vw, 64px) clamp(36px, 6vw, 72px); }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 600; letter-spacing: -0.03em; }
.hero h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 500; margin-top: clamp(24px, 4vw, 52px); }
.hero .sub { margin-top: 18px; }
.hero .pill { margin-top: 10px; }

/* home photo row */
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.photos figcaption { margin-top: 16px; font-size: 0.95rem; }
@media (max-width: 760px) { .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.motto { text-align: center; margin-top: clamp(48px, 8vw, 110px); }
.motto p { font-size: 1rem; margin-top: 6px; padding-left: 22%; }
@media (max-width: 760px) { .motto p { padding-left: 0; } }

/* students' countries */
.globe-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; margin-top: clamp(36px, 5vw, 70px); }
.globe-row .acc { max-width: 460px; width: 100%; }
.globe-row img { width: min(100%, 530px); margin-inline: auto; }
@media (max-width: 820px) { .globe-row { grid-template-columns: 1fr; } .globe-row .acc { max-width: 460px; width: 100%; }
.globe-row img { width: min(80%, 380px); } }

/* accordions */
.acc { border-top: 1.5px solid var(--ink); }
.acc details { border-bottom: 1.5px solid var(--ink); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 400; letter-spacing: -0.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 24px; height: 24px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; }
.acc details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat; }
.acc .a { padding: 0 0 26px; font-size: 1rem; }
.acc .a.bold { font-weight: 700; max-width: 300px; }
.acc .a.indent { padding-left: 46px; padding-right: 46px; }
.acc .a p + p { margin-top: 12px; }
.acc.bold-plus summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 70% 2.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2.5px 70% no-repeat; }
.acc.bold-plus details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 70% 2.5px no-repeat; }
.acc.small summary { font-size: clamp(1.1rem, 1.7vw, 1.45rem); padding: 14px 0; }

/* big scrolling titles */
.marquee { overflow: hidden; white-space: nowrap; margin-bottom: clamp(20px, 3vw, 36px); }
.mq-track { display: inline-flex; align-items: center; gap: 0.25em; animation: mq 40s linear infinite; font-family: var(--display); font-size: clamp(2.6rem, 5.6vw, 4.9rem); letter-spacing: -0.02em; }
.mq-track svg { width: 0.9em; height: 0.4em; flex: none; margin-inline: 0.15em; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 9vw, 124px); max-width: 1000px; margin-inline: auto; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 0; } .two-col > .acc + .acc { border-top: 0; } }

/* contact block + forms */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.contact .left { display: flex; flex-direction: column; gap: 26px; }
.contact .lead { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.25; font-weight: 400; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.form .legend { grid-column: 1 / -1; font-size: 0.95rem; margin-bottom: -6px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.95rem; }
.field label small { color: var(--muted); font-size: 0.85rem; margin-left: 4px; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background-color: var(--field); border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; width: 100%; min-height: 46px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 22px; color: #3b5958; }
/* waiting list hint inside contact forms (when Linda isn't taking new students) */
.wl-note { background: var(--white); border-radius: 24px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border-left: 6px solid var(--teal); }
.wl-note .pill { padding: 14px 26px; color: #fff; text-decoration: none; }
.wl-note.soft { background: rgba(255,255,255,.7); padding: 14px 18px; flex-direction: row; flex-wrap: wrap; align-items: center; font-size: .95rem; }
.wl-note.soft .pill { padding: 10px 20px; font-size: .9rem; }
.field textarea { border-radius: 26px; min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; text-transform: uppercase; }
.check input { width: 16px; height: 16px; accent-color: var(--teal); }
.check.req { text-transform: none; align-items: flex-start; line-height: 1.45; }
.check.req input { flex-shrink: 0; margin-top: 3px; }
.form .pill { padding: 18px 32px; color: var(--ink); justify-self: start; }
.form .pill.mid-btn { justify-self: center; }
.fine { font-size: 0.9rem; }
.form-msg { grid-column: 1 / -1; min-height: 1.4em; font-weight: 700; }
.arrow-note { display: flex; align-items: flex-end; justify-content: flex-end; gap: 6px; margin-top: auto; padding-top: 40px; font-size: 0.95rem; }
.arrow-note span { margin-bottom: 70px; }
.arrow-note svg { width: 190px; height: 70px; flex: none; }
@media (max-width: 860px) { .arrow-note { display: none; } }

/* about */
.about-title { margin-bottom: 18px; }
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 68px); align-items: start; }
.about-hero .photo img { border-radius: 28px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.about-hero .txt { display: flex; flex-direction: column; gap: 24px; padding-top: 6px; }
.about-hero .intro { font-family: var(--display); font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.2; }
.about-hero .q { font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin-top: 22px; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }
.work { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 8vw, 120px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.work .txt { display: flex; flex-direction: column; gap: 16px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tags li { background: var(--teal); color: #fff; font-weight: 700; border-radius: 999px; padding: 4px 40px; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } }
.career { display: grid; grid-template-columns: 0.55fr 1.2fr; gap: clamp(28px, 5vw, 66px); align-items: start; max-width: 1230px; margin-inline: auto; }
.career img { width: 100%; }
@media (max-width: 760px) { .career { grid-template-columns: 1fr; } .career img { max-width: 360px; } }
.key h2 { font-size: clamp(2.2rem, 5vw, 4.1rem); font-weight: 400; color: #fff; line-height: 1.12; }
.key p { max-width: 720px; margin-top: 18px; color: #fff; }
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: clamp(30px, 5vw, 60px); }
.certs h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 400; }
.certs p { margin-top: 12px; }
@media (max-width: 900px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .certs { grid-template-columns: 1fr; } }

/* pricing */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 4.5vw, 66px); margin-top: clamp(40px, 6vw, 88px); }
.card { background: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 12px 42px; }
.card::before { content: ""; align-self: stretch; margin-inline: -12px; height: 28px; background: var(--c); }
.card h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 400; }
.card .dur { font-size: 1rem; }
.card .price { font-family: var(--display); font-size: clamp(1.8rem, 3.1vw, 2.5rem); font-weight: 400; letter-spacing: -0.02em; }
.card .price.free { font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.card .desc { font-size: 1rem; line-height: 1.5; }
.card .when { color: var(--c); font-weight: 700; margin-top: auto; padding-top: 20px; }
.card .pill { color: var(--ink); padding: 18px 32px; margin-top: auto; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }

/* reviews */
.rail { overflow: hidden; margin-top: clamp(28px, 4vw, 48px); }
.track { display: flex; gap: 18px; width: max-content; padding-block: 4px; animation: slide 90s linear infinite; }
.rail:hover .track, .rail:focus-within .track { animation-play-state: paused; }
.track .review { width: 300px; flex: none; }
.track .review blockquote { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes slide { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .rail { overflow-x: auto; } }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.review { margin: 0; background: #fff; border: 1px solid #dcdcdc; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 14px; font-size: 0.92rem; }
.review blockquote { margin: 0; position: relative; padding-top: 30px; }
.review blockquote::before { content: "\201C"; position: absolute; top: -6px; left: 0; font-family: var(--display); font-size: 48px; line-height: 1; color: var(--teal); }
.review figcaption { margin-top: auto; font-weight: 700; font-size: 0.85rem; }
.more { display: block; margin: 24px auto 0; font: inherit; font-size: 0.9rem; background: #fff; border: 1px solid #cfcfcf; border-radius: 6px; padding: 8px 16px; cursor: pointer; }

/* e-books */
.ebook { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.ebook.rev { grid-template-columns: 1.1fr 0.9fr; }
.ebook.rev .pic { order: 2; }
.ebook .txt { display: flex; flex-direction: column; gap: 16px; }
.ebook ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 860px) { .ebook, .ebook.rev { grid-template-columns: 1fr; } .ebook.rev .pic { order: 0; } }
.ph { background: linear-gradient(135deg, #dff1f1, #f6f6f6); border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.missing img { display: none; }
.ph.missing::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; font-family: var(--display); color: var(--teal-dark); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* e-book page: previews follow the chosen format; the computer version is landscape */
.fmt-cover .ph, .fmt-gallery .ph { box-shadow: 0 10px 26px rgba(0,0,0,.14); transition: aspect-ratio .2s ease; }
.fmt-cover.wide { align-self: center; }
.fmt-gallery.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1100px; margin-inline: auto; }
@media (max-width: 760px) { .fmt-gallery.wide { grid-template-columns: 1fr; } }
.fmt-note { margin-top: 6px; font-weight: 700; color: var(--muted); }
.buybox .soon-note { font-size: .95rem; }
.bullets { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.quotes h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 400; line-height: 1.35; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* for students */
.entry { max-width: 460px; margin: 0 auto; background: #f1f2f4; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.entry .k { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #5f6f7a; }
.entry h1 { font-size: 24px; font-weight: 700; letter-spacing: 0; color: #18252e; }
.entry p { color: #5f6f7a; font-size: 14.5px; margin-bottom: 8px; }
.entry form { display: flex; flex-wrap: wrap; gap: 8px; }
.entry input { flex: 1 1 180px; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #c9d2d8; border-radius: 8px; background: #fff; }
.entry button { font: inherit; font-weight: 700; font-size: 16px; padding: 10px 18px; border: 0; border-radius: 8px; background: var(--teal); color: #fff; cursor: pointer; }
.entry .msg { color: #b0402f; font-size: 13.5px; min-height: 1.2em; margin: 8px 0 0; }

/* legal */
.legal { max-width: 900px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; color: var(--teal); margin-bottom: 10px; }
.legal h2, .legal h3 { font-size: 1.5rem; margin-top: 16px; }
.legal h4 { font-size: 1.2rem; margin-top: 10px; }
.legal ul, .legal ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }

/* footer */
.site-footer { background: #fff; padding-block: 40px 56px; }
.foot { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot .name { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.02em; }
.icons { display: flex; gap: 10px; margin-top: 12px; }
.icons a { width: 36px; height: 36px; background: #000; display: grid; place-items: center; }
.icons svg { width: 18px; height: 18px; fill: #fff; }
.foot .links { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; padding-right: clamp(0px, 8vw, 120px); }
.foot .links a { font-weight: 700; text-underline-offset: 3px; }
.copy { margin-top: 44px; }

/* tweaks after render check */
.hw .site-header { background: var(--white); }
.contact h1, .contact h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 600; }
.card .price.free { white-space: nowrap; font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.tags li { font-size: 0.82rem; padding: 3px 24px; }
.u::after { height: 0.24em; bottom: -0.16em; }
.nav > a, .dd > button, .nav .pill { white-space: nowrap; }

/* student login */
.stack-form { display: flex; flex-direction: column; gap: 8px; }
.entry .stack-form input { flex: none; }
.entry .hint { font-size: 13px; margin: 10px 0 0; }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: flex-end; font-size: 0.95rem; margin-bottom: 18px; }
.who #who-name, .who b { margin-right: auto; }
.logout { font: inherit; font-size: 0.9rem; background: none; border: 1px solid #c9d2d8; border-radius: 8px; padding: 6px 14px; cursor: pointer; }
.adm { display: flex; flex-direction: column; gap: 12px; }
.adm-row { border: 1px solid #d9e0e4; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.adm-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-name { font-family: var(--display); font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.adm-name:hover { text-decoration: underline; }
.tag { font-size: 12px; border-radius: 99px; padding: 2px 10px; background: #eef1f3; color: #5f6f7a; }
.tag.ok { background: #e2f1e6; color: #2f7a48; }
.tag.wait { background: #fff4d6; color: #8a6a00; }
.adm-inv, .adm-link { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adm-inv input, .adm-link input { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 15px; padding: 8px 12px; border: 1px solid #c9d2d8; border-radius: 8px; }
.adm-inv button, .adm-link button { font: inherit; font-size: 15px; font-weight: 700; padding: 8px 16px; border: 0; border-radius: 8px; background: var(--teal); color: #fff; cursor: pointer; }
.adm-link span { flex-basis: 100%; font-size: 14px; color: #5f6f7a; }

/* student page layout helpers (used in sablony/stranka-studenta.html) */
.student { max-width: 1240px; margin: 0 auto; }
.student .sloupce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.student .sloupec { min-width: 0; }
.student .sloupec .ljw { max-width: none; }
@media (max-width: 900px) { .student .sloupce { grid-template-columns: 1fr; } }
.student .mezera { height: 40px; }
.student .mezera.velka { height: 80px; }
.student .nadpis { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; margin-bottom: 10px; }
.student .text { margin-bottom: 14px; }
.student [data-lj]:empty { display: none; }
.adm-mail { font-size: 14px; color: #5f6f7a; margin-left: auto; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
/* about: more room inside the hand-drawn circle around the question */
.about-hero .q { margin-top: 30px; padding: 0.35em 0.9em; }
.about-hero .q .o { white-space: normal; }
.about-hero .q .o::after { inset: -0.75em -1.15em -0.75em -1.05em; }
/* university photo keeps the original proportions whatever file is uploaded */
.career img { aspect-ratio: 380 / 521; object-fit: cover; }
/* student page: Google booking calendar shown in full (height set in sablony/stranka-studenta.html) */
.student .sloupec iframe[src*="calendar.google.com"] { height: var(--vyska, 1200px) !important; }
@media (max-width: 900px) { .student .sloupec iframe[src*="calendar.google.com"] { height: var(--vyska-mobil, 1500px) !important; } }
/* widths measured from the original Squarespace pages (1464 px window) */
.globe-row { max-width: 1000px; margin-inline: auto; }
.globe-row img { width: min(100%, 410px); }
.about-title, .about-hero, .about-work { max-width: 1170px; margin-inline: auto; }
.who .pozdrav { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 600; color: var(--teal); letter-spacing: -0.02em; line-height: 1.1; margin: 0 auto 0 0; }
.who:has(.pozdrav) { align-items: center; margin-bottom: clamp(20px, 3vw, 36px); }
.globe-row .globe { display: block; width: min(100%, 410px); height: auto; aspect-ratio: 1 / 1; margin-inline: auto; }
@media (max-width: 820px) { .globe-row .globe { width: min(80%, 380px); } }

/* "Add to my calendar" icons and menu on student pages */
.lj-ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: 4px; border-radius: 8px; border: 1px solid #d9e0e4; background: #fff; color: var(--teal); cursor: pointer; padding: 0; vertical-align: middle; text-decoration: none; }
.lj-ic:hover { background: #e6f6f6; }
.lj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lj-calmenu { position: absolute; z-index: 9999; background: #fff; border: 1px solid #d9e0e4; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 6px; min-width: 230px; font-size: 15px; font-family: var(--body); }
.lj-calmenu .lj-calhead { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #5f6f7a; padding: 6px 10px 4px; }
.lj-calmenu a, .lj-calmenu button { display: block; width: 100%; text-align: left; font: inherit; color: #18252e; background: none; border: 0; border-radius: 8px; padding: 9px 10px; cursor: pointer; text-decoration: none; }
.lj-calmenu a:hover, .lj-calmenu button:hover { background: #f3f5f6; }
.getlink { margin-top: 14px; border-top: 1px solid #dde3e7; padding-top: 12px; }
.getlink summary { cursor: pointer; font-size: 14.5px; color: #18252e; font-weight: 600; }
.getlink p { margin: 8px 0; }
.entry .msg.ok { color: #2f7a48; }

/* student account page */
.acc-card { border: 1px solid #d9e0e4; border-radius: 14px; padding: clamp(18px, 3vw, 28px); margin-bottom: 22px; display: flex; flex-direction: column; gap: 14px; }
.acc-card h2 { font-size: 1.35rem; font-weight: 600; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.acc-grid .full { grid-column: 1 / -1; }
.acc-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; color: #5f6f7a; }
.acc-grid input { font: inherit; font-size: 16px; color: #18252e; padding: 10px 12px; border: 1px solid #c9d2d8; border-radius: 8px; background: #fff; min-width: 0; }
.acc-card button { align-self: flex-start; font: inherit; font-weight: 700; font-size: 16px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; cursor: pointer; }
.acc-card .msg, #acc-msg { min-height: 1.2em; margin: 0; color: #b0402f; font-size: 14.5px; }
.acc-card .msg.ok { color: #2f7a48; }
.acc-card .hint { font-size: 13.5px; color: #5f6f7a; margin: 0; }
@media (max-width: 600px) { .acc-grid { grid-template-columns: 1fr; } }
.acc-pw { gap: 0; }
.acc-pw summary { cursor: pointer; font-family: var(--display); font-size: 1.2rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc-pw summary::-webkit-details-marker { display: none; }
.acc-pw summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--teal); }
.acc-pw[open] summary::after { content: "–"; }
.acc-pw form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }

/* Správa lekcí: settings, messages, subscribers */
.adm-set { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 26px; }
.switch { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 99px; background: #c9d2d8; position: relative; cursor: pointer; transition: background .15s; grid-row: span 2; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--teal); }
.switch input:checked::after { transform: translateX(18px); }
.switch input:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.switch span { font-weight: 700; }
.switch small { color: #5f6f7a; font-size: 0.88rem; }
.adm-box { border: 1px solid #d9e0e4; border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; }
.adm-box > summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.adm-box > summary span { color: #5f6f7a; font-weight: 400; }
.adm-hint { color: #5f6f7a; font-size: 0.92rem; margin: 10px 0; }
.adm-hint button, .adm-tbl button, .adm-block button { font: inherit; font-size: 0.85rem; padding: 4px 10px; border-radius: 8px; border: 1px solid #c9d2d8; background: #fff; cursor: pointer; }
.adm-block { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.adm-block button { color: #b0402f; border-color: #e6b8b0; }
.adm-block small { color: #5f6f7a; font-size: 0.82rem; }
.adm-block button[data-unblock] { color: #2f6f4a; border-color: #b6d8c4; }
.adm-notify { display: inline-flex; align-items: center; gap: 5px; font-size: 0.85rem; cursor: pointer; }
.tag.blocked { background: #fbe3df; color: #9a2f22; }
.adm-msg { border-top: 1px solid #e3e8eb; padding: 8px 0; }
.adm-msg summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.adm-msg .d { color: #5f6f7a; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.adm-msg dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 10px 0 4px; font-size: 0.93rem; }
.adm-msg dt { color: #5f6f7a; }
.adm-msg dd { margin: 0; white-space: pre-wrap; min-width: 0; overflow-wrap: anywhere; }
#adm-subs, #adm-notes { overflow-x: auto; }
.adm-tbl { border-collapse: collapse; width: 100%; font-size: 0.92rem; margin-top: 8px; }
.adm-tbl th, .adm-tbl td { text-align: left; padding: 6px 8px; border-top: 1px solid #e3e8eb; }
.adm-tbl th { color: #5f6f7a; font-weight: 600; }
.adm-fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1.5px solid #d9e0e4; }
.adm-fold > summary::-webkit-details-marker { display: none; }
.adm-fold > summary::after { content: "+"; font-size: 1.8rem; line-height: 1; color: var(--teal); }
.adm-fold[open] > summary::after { content: "–"; }
.adm-fold[open] > summary { margin-bottom: 8px; }
div.lead[data-id] { border-top: 1px solid #e3e8eb; padding: 12px 0; }
.lead-top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.lead-top .d { color: #5f6f7a; font-size: 0.85rem; margin-left: auto; font-variant-numeric: tabular-nums; }
.lead dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 8px 0; font-size: 0.93rem; }
.lead dt { color: #5f6f7a; } .lead dd { margin: 0; white-space: pre-wrap; min-width: 0; overflow-wrap: anywhere; }
.lead-edit { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lead-edit select, .lead-edit textarea { font: inherit; font-size: 15px; padding: 7px 10px; border: 1px solid #c9d2d8; border-radius: 8px; background: #fff; color: #18252e; }
.lead-edit textarea { flex: 1 1 260px; min-width: 0; resize: vertical; }
.lead-edit button { font: inherit; font-weight: 700; font-size: 14px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--teal); color: #fff; cursor: pointer; }
.lead-msg { font-size: 0.85rem; color: #2f7a48; }
.lead.st-accepted, .lead.st-declined { opacity: .65; }

/* Thank-you card shown instead of a sent form */
.form.sent > *:not(.form-done) { display: none !important; }
.form-done { grid-column: 1 / -1; background: #fff; border-radius: 24px; padding: clamp(36px, 6vw, 64px) 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 2px 18px rgba(0,0,0,.06); outline: none; }
.form-done svg { width: 72px; height: 72px; margin-bottom: 8px; }
.form-done .done-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.4rem); text-transform: uppercase; letter-spacing: .04em; }
.form-done .done-sub { margin: 0; font-size: 1.1rem; }

.pay-logos { display: block; max-width: 520px; margin-top: 24px; }
.pay-logos img { width: 100%; height: auto; display: block; }

/* ---------------------------------------------------------------- e-book shop */
.site-header .nav { margin-left: auto; }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.cart-link:hover { background: rgba(0,0,0,.06); }
.cart-link svg { width: 27px; height: 27px; }
.cart-n { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; display: none; }
.cart-link.has .cart-n { display: block; }
@media (max-width: 700px) { .cart-link { order: 2; margin-left: auto; } .menu-btn { order: 3; } }

.perks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-weight: 600; }
.perks li { display: inline-flex; align-items: center; gap: 8px; }
.perks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; flex-shrink: 0; }

.lvl-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.lvl-filter button { font: inherit; font-size: .95rem; border: 1.5px solid var(--ink); background: #fff; border-radius: 999px; padding: 7px 18px; cursor: pointer; }
.lvl-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.pcard { background: #fff; border: 1px solid #e4e1e2; display: flex; flex-direction: column; min-width: 0; }
.pcard::before { content: ""; height: 14px; background: var(--c); }
.pc-cover { display: grid; place-items: center; background: var(--grey); padding: clamp(22px, 3vw, 36px) clamp(36px, 5vw, 64px); }
.pc-cover img { width: 100%; max-width: 260px; box-shadow: 0 14px 30px rgba(0,0,0,.18); transition: transform .2s ease; }
.pc-cover:hover img { transform: translateY(-4px) rotate(-1deg); }
.pc-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .9rem; color: var(--muted); }
.lvl { display: inline-block; background: var(--c); color: #000; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.pcard h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pc-tag { font-size: .98rem; line-height: 1.5; }
.pc-more { font-weight: 700; text-decoration: none; color: var(--teal-dark); align-self: flex-start; }
.pc-more:hover { text-decoration: underline; }
.pc-buy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #ecebeb; }
.pc-price, .bb-price { font-family: var(--display); display: flex; align-items: baseline; gap: 8px; }
.pr-czk { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.pr-eur { font-size: .95rem; color: var(--muted); }
.pr-eur::before { content: "≈ "; }
.pill.add { padding: 14px 24px; font-size: .92rem; }
.pill.add.in { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--teal); }
.pc-soon { margin-top: auto; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.pcard.next { border-style: dashed; background: transparent; }
.pcard.next .pc-body { justify-content: center; }

.steps { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.steps .n { width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--display); font-size: 1.5rem; font-weight: 700; display: grid; place-items: center; }
.steps h3 { font-size: 1.4rem; font-weight: 600; }
.steps p { max-width: 32ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.soon-note { font-weight: 700; }
.buybox { background: #fff; border-radius: 24px; padding: clamp(18px, 2.5vw, 26px); display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.fmt { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fmt legend { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-bottom: 10px; padding: 0; }
.fmt label { cursor: pointer; display: flex; min-width: 0; }
.fmt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fmt span { flex: 1; display: flex; flex-direction: column; gap: 4px; border: 1.5px solid #d5d2d3; border-radius: 16px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.fmt small { font-size: .82rem; line-height: 1.35; color: var(--muted); }
.fmt input:checked + span { border-color: var(--teal); background: #eef8f8; box-shadow: inset 0 0 0 1px var(--teal); }
.fmt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
@media (max-width: 560px) { .fmt { grid-template-columns: 1fr; } }
.bb-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

.cart { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); margin-top: clamp(20px, 3vw, 32px); align-items: start; }
@media (max-width: 900px) { .cart { grid-template-columns: 1fr; } }
.cart-items { background: #fff; border-radius: 24px; padding: clamp(18px, 2.5vw, 28px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cur-switch { display: flex; align-items: center; gap: 6px; align-self: flex-end; font-size: .9rem; }
.cur-switch span { margin-right: 4px; color: var(--muted); }
.cur-switch button { font: inherit; font-size: .9rem; font-weight: 700; border: 1.5px solid var(--ink); background: #fff; border-radius: 999px; padding: 4px 14px; cursor: pointer; }
.cur-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.ci { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid #ecebeb; }
.ci-img img { width: 74px; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.ci-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.ci-t { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.ci-t a { text-decoration: none; }
.ci-lvl { font-family: var(--body); font-size: .75rem; font-weight: 700; background: var(--grey); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.ci-fmt { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.ci-fmt span { color: var(--muted); }
.ci-fmt select { font: inherit; font-size: .9rem; border: 1px solid #cfcccd; border-radius: 999px; padding: 5px 12px; background: #fff; }
.ci-rm { font: inherit; font-size: .85rem; background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; }
.ci-rm:hover { color: var(--coral); }
.ci-pr { font-family: var(--display); font-weight: 600; font-size: 1.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 14px; font-family: var(--display); font-size: 1.35rem; }
.cart-total b { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.cart-empty { padding: 20px 0; font-size: 1.1rem; }
.checkout .sub { font-weight: 600; }
.checkout #pay-btn { margin-top: 4px; }
.checkout .form-done { order: -1; }

.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 50; width: max-content; max-width: calc(100vw - 32px); font-size: .98rem; transition: transform .25s ease; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--teal); font-weight: 700; margin-left: 6px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .toast, .pc-cover img { transition: none; } }
.shop-hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; }
.ljw-tbl .ljw-cx { height: 30px; margin-left: 6px; vertical-align: middle; }

/* Správa lekcí: one folding card per student */
details.adm-stu { display: block; padding: 0; }
details.adm-stu > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 16px; }
details.adm-stu > summary::-webkit-details-marker { display: none; }
details.adm-stu > summary::before { content: "▸"; color: #5f6f7a; }
details.adm-stu[open] > summary::before { content: "▾"; }
.adm-info { font-size: 13.5px; color: #5f6f7a; }
.adm-body { padding: 0 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.lj-hwrow td { background: #f3f5f6; font-size: 0.95em; white-space: pre-line; border-top: 0; }

/* ===== Claude Design (Oct 2026): changes Linda made in the design canvas ===== */
.pill.big { font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.pill.bold, .pill.add { font-weight: 700; }
.photos img { border-radius: 20px; }
.photos figcaption { font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 600; }
.career img { border-radius: clamp(20px, 5vw, 70px); }
.key h2 { line-height: 1.35; }
.card { border-radius: 20px; overflow: hidden; }
.old-prices { font-size: .78rem; }
.acc.big summary { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.review { border-radius: 20px; }
.review blockquote { text-align: justify; hyphens: auto; }
.rev-note { max-width: 760px; margin: clamp(20px, 3vw, 36px) auto 0; }
.students-title { margin-bottom: clamp(24px, 3vw, 40px); }
.entry { border-radius: 20px; }
/* e-books: each card in its own colour (button, link, top bar) */
.pcard { border-radius: 20px; overflow: hidden; }
.pcard .pill.add:not(.in) { background: var(--c); }
.pcard[style*="#e3922b"] .pc-more, .pcard[style*="#8e6aa7"] .pc-more { color: var(--c); }
.pcard.next { grid-column: 1 / -1; justify-self: center; width: min(100%, 455px); text-align: center; }
.pcard.next .pc-meta { justify-content: center; }
.pcard.next .lvl { font-size: .95rem; }
.pcard.next .pc-more { align-self: center; color: #8f8bd8; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.steps h3 { font-weight: 700; }
/* footer: name and company details left, links and © right */
.foot-l .co { margin-top: 18px; font-size: .9rem; line-height: 1.6; }
.foot-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 18px; }
.foot-row .icons { margin-top: 0; }
.foot-row .pay-logos { margin-top: 0; width: min(100%, 361px); }
.foot-r { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.foot-r .links { gap: 10px; align-items: flex-end; padding-right: 0; }
.foot-r .copy { margin-top: 20px; }
.foot .name { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
@media (max-width: 760px) {
  .foot-r { align-items: flex-start; text-align: left; }
  .foot-r .links { align-items: flex-start; }
  .about-hero .justify, .work .txt p { font-size: 15px; }
  .shop-hero .lead { font-size: .85rem; }
  .old-prices { font-size: .7rem; }
}
@media (max-width: 540px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .card { padding-inline: 8px; } .card::before { margin-inline: -8px; } .card .pill { padding: 12px 14px; white-space: normal; font-size: .82rem; line-height: 1.25; max-width: 100%; } }
.ebook .pill.add:not(.in) { background: var(--c); font-weight: 700; }
.ebook ul.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ebook ul.ticks li { padding-left: 1.6em; position: relative; }
.ebook ul.ticks li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--c); }
.ebook .by { font-size: .92rem; color: var(--muted); font-style: italic; }
/* e-book product page (desktop polish) */
.ebook.product { align-items: start; }
@media (min-width: 861px) { .ebook.product .pic { position: sticky; top: 24px; } }
.ebook.product .txt { gap: 14px; }
.meta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.to-samples { font-size: .9rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--c); }
.to-samples:hover { color: var(--c); }
.ebook .label { font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.ebook ul.dots li { padding-left: 1.2em; position: relative; }
.ebook ul.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.ebook.product .buybox { box-shadow: 0 10px 30px rgba(0,0,0,.06); margin-top: 10px; }
.ebook.product .fmt input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: inset 0 0 0 1px var(--c); }
.ebook.product .bb-row { border-top: 1px solid #ecebeb; padding-top: 16px; }
.ebook.product .bb-price .pr-czk { font-size: 2rem; }
.ebook.product .pill.add { padding: 16px 34px; font-size: 1rem; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--muted); }
.trust li { padding-left: 1.3em; position: relative; }
.trust li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--c); }
#samples { scroll-margin-top: 24px; }
/* e-book product page: smaller, lighter, more elegant on desktop */
@media (min-width: 861px) {
  .ebook.product { grid-template-columns: minmax(0, 360px) minmax(0, 560px); justify-content: center; gap: clamp(40px, 6vw, 88px); }
  .ebook.product .fmt-cover .ph { box-shadow: 0 8px 24px rgba(0,0,0,.10); border-radius: 8px; }
  .ebook.product h1.mid { font-size: clamp(1.8rem, 2.4vw, 2.3rem); font-weight: 500; letter-spacing: -.01em; }
  .ebook.product .txt { font-size: .95rem; line-height: 1.6; gap: 12px; }
  .ebook.product .label { font-size: .72rem; margin-top: 10px; }
  .ebook.product .buybox { padding: 20px 22px; gap: 14px; border-radius: 18px; box-shadow: 0 6px 22px rgba(0,0,0,.05); }
  .ebook.product .fmt legend { font-size: .95rem; }
  .ebook.product .fmt span { padding: 10px 12px; border-radius: 12px; }
  .ebook.product .fmt b { font-size: .92rem; }
  .ebook.product .fmt small { font-size: .76rem; }
  .ebook.product .bb-price .pr-czk { font-size: 1.6rem; }
  .ebook.product .pill.add { padding: 13px 26px; font-size: .9rem; }
  .ebook.product .trust { font-size: .8rem; }
}
/* header stays visible while scrolling; back-to-top button */
.site-header { position: sticky; top: 0; z-index: 40; transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.08); }
html { scroll-padding-top: 100px; }
.to-top { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: calc(clamp(14px, 2.5vw, 28px) + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: background .15s ease, transform .15s ease; }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--teal-dark); transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.to-top svg { width: 22px; height: 22px; }
/* reviews: swipe row with arrows and counter */
.rev-swipe .rs-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.rev-swipe .rs-track::-webkit-scrollbar { display: none; }
.rev-swipe .rs-track:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 20px; }
.rev-swipe .review { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
@media (max-width: 980px) { .rev-swipe .review { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .rev-swipe .review { flex-basis: 100%; } }
.rs-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.rs-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; }
.rs-nav button:hover:not(:disabled) { background: var(--teal); border-color: var(--teal); color: #fff; }
.rs-nav button:disabled { opacity: .3; cursor: default; }
.rs-count { font-family: var(--display); font-weight: 600; min-width: 4.5em; text-align: center; font-variant-numeric: tabular-nums; }
/* e-book page: "About this e-book" fold (phone only) */
.about-box > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid #d9d6d7; border-bottom: 1px solid #d9d6d7; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.about-box > summary::-webkit-details-marker { display: none; }
.about-box > summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--c, var(--ink)); }
.about-box[open] > summary::after { content: "–"; }
.about-box[open] > summary { margin-bottom: 4px; }
.about-box .label:first-of-type { margin-top: 12px; }
@media (min-width: 861px) { .about-box > summary { display: none; } .about-box .label:first-of-type { margin-top: 10px; } }
@media (max-width: 860px) { .ebook.product .pic { max-width: 260px; margin-inline: auto; } }
/* student page on a phone: lesson table as compact two-line rows, no sideways scrolling.
   (overrides the lessons widget's own styles; icons, Cancel and calendar stay visible on the right) */
@media (max-width: 600px) {
  .student .ljw div[style*="overflow-x"] { overflow: visible !important; }
  .student .ljw-tbl, .student .ljw-tbl tbody { display: block; width: 100%; }
  .student .ljw-tbl thead { display: none; }
  .student .ljw-tbl tr { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; align-items: center; padding: 10px 0; border-top: 1px solid #D9E0E4; }
  .student .ljw-tbl td { border-top: 0 !important; padding: 0 !important; min-width: 0; }
  .student .ljw-tbl td:nth-child(1) { grid-row: 1 / span 2; font-size: 13px; }
  .student .ljw-tbl td:nth-child(2) { grid-column: 2; grid-row: 1; font-weight: 600; }
  .student .ljw-tbl td:nth-child(3) { grid-column: 2; grid-row: 2; }
  .student .ljw-tbl td:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; width: auto !important; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; max-width: 120px; }
  .student .ljw-tbl td[colspan] { grid-column: 1 / -1; grid-row: auto; padding-top: 6px !important; }
  .student .ljw-tbl tr:has(td[colspan]) { border-top: 2px solid #7aced1; }
  .student .ljw-tbl .ljw-pill { white-space: normal; }
  .student .ljw-tbl .ljw-cx { margin-left: 0 !important; }
  .student .ljw-tbl .lj-ic { margin-left: 0; }
}
/* footer "stop": folded into a slim bar until the visitor keeps scrolling at the bottom of the page */
.site-footer .foot { transition: max-height .5s ease, opacity .4s ease; }
.site-footer.folded { padding-block: 0; }
.site-footer.folded .foot { max-height: 0; opacity: 0; overflow: hidden; visibility: hidden; }
.site-footer:not(.folded) .foot { max-height: 900px; }
.foot-peek { display: none; }
.site-footer.folded .foot-peek { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; padding: 18px 64px 22px; font-size: .82rem; color: var(--muted); }
.foot-peek a { color: inherit; }
.foot-peek button { font: inherit; background: none; border: 0; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.foot-peek button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
@media (prefers-reduced-motion: reduce) { .site-footer .foot { transition: none; } }
/* phone: name on two lines without the dash; smaller footer (Linda's phone design) */
@media (max-width: 700px) {
  .logo-sep { display: block; height: 0; overflow: hidden; }
  .foot-l .co, .foot-r .copy { font-size: 10.5px; }
  .foot-row .pay-logos { width: 225px; }
  .foot-r .links { gap: 5px; }
}

/* ---- Word of the Day (kartičky na stránce studenta, site.js flashcards) – stejný rámeček jako bloky widgetu (.ljw-card) ---- */
.fc{background:#fff;border:1px solid #d9e0e4;border-radius:12px;padding:20px;margin:0 0 18px}
.fc-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.fc-eyebrow{font-family:"Nunito Sans","Helvetica Neue",Arial,sans-serif;font-size:13px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:#5f6f7a;margin:0;line-height:1.5}
.fc-nav{display:flex;align-items:center;gap:8px}
.fc-arrow{width:30px;height:30px;border-radius:50%;border:1px solid #d9e0e4;background:#fff;font-size:15px;line-height:1;cursor:pointer;color:#18252e;padding:0}
.fc-arrow:hover{border-color:#7aced1;background:#f2fafa}
.fc-count{font-size:13px;font-variant-numeric:tabular-nums;color:#5f6f7a;min-width:3.6em;text-align:center}
.fc-card{position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;perspective:1000px;font:inherit;color:inherit}
.fc-in{position:relative;display:block;min-height:100px;transition:transform .5s ease;transform-style:preserve-3d}
.fc-card.flipped .fc-in{transform:rotateY(180deg)}
.fc-side{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px 16px;border-radius:10px;
  backface-visibility:hidden;-webkit-backface-visibility:hidden}
.fc-front{background:#f2fafa;border:1px solid #7aced1}
.fc-back{background:#7aced1;transform:rotateY(180deg)}
.fc-word{font-family:Manrope,sans-serif;font-size:1.5rem;font-weight:700;line-height:1.25;overflow-wrap:anywhere;text-align:center}
.fc-back .fc-word{font-size:1.15rem}
.fc-tag{font-size:12px;font-weight:700;letter-spacing:.06em;color:#5f6f7a}
.fc-back .fc-tag{color:#18252e;opacity:.75}
.fc-hint{position:absolute;right:10px;bottom:6px;font-size:11px;color:#5f6f7a;opacity:.8;pointer-events:none}
.fc-card.flipped .fc-hint{color:#18252e}
.fc-card:focus-visible .fc-side{outline:3px solid #23607f;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.fc-in{transition:none}}
[data-lj="words"][hidden] + .mezera{display:none}
/* Kartičky v2: větší karta, skupiny s počty, Study again / Got it, posuvník */
.fc2 [hidden]{display:none!important}
.fc2 .fc-in{min-height:190px}
.fc2 .fc-word{font-size:2rem}
.fc2 .fc-back .fc-word{font-size:1.4rem}
.fc2-shuffle{display:flex;align-items:center;gap:6px;font-size:14px;color:#5f6f7a;cursor:pointer;user-select:none}
.fc2-shuffle input{width:16px;height:16px;accent-color:#23607f;margin:0}
.fc2-dir{display:flex;width:max-content;max-width:100%;margin:2px auto 14px;padding:3px;background:#eef1f3;border-radius:999px}
.fc2-dir button{font:inherit;font-size:15px;padding:7px 22px;border:0;border-radius:999px;background:none;color:#18252e;cursor:pointer;white-space:nowrap}
.fc2-dir button[aria-pressed=true]{background:#18252e;color:#fff}
.fc2-dir button:not([aria-pressed=true]):hover{color:#23607f}
.fc2-dir + .fc2-groups{border-top:1px solid #e6eaed;padding-top:14px}
.fc2-groups{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.fc2-chip{font:inherit;font-size:13px;padding:5px 10px;border:1px solid #d9e0e4;border-radius:999px;background:#fff;color:#18252e;cursor:pointer}
.fc2-chip b{font-variant-numeric:tabular-nums}
.fc2-of{color:#5f6f7a}
.fc2-chip[aria-pressed=true]{background:#18252e;border-color:#18252e;color:#fff}
.fc2-chip[aria-pressed=true] .fc2-of{color:#c9d2d8}
.fc2-chip:hover{border-color:#7aced1}
.fc2-badge{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:1px 8px;border-radius:6px;margin-top:4px}
.fc2-badge.fc2-ok{background:#e2f1e6;color:#2f7a48}
.fc2-badge.fc2-again{background:#fff4d6;color:#8a6a00}
.fc2-dict{font-size:13px;color:#18252e;text-decoration:underline;margin-top:6px}
.fc2-mark{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 10px}
.fc2-btn{font:inherit;font-weight:700;font-size:15px;padding:10px 12px;border-radius:8px;cursor:pointer;border:1px solid}
.fc2-again{background:#fff;border-color:#e0c46a;color:#8a6a00}
.fc2-again[aria-pressed=true],.fc2-again:hover{background:#fff4d6}
.fc2-ok{background:#fff;border-color:#8cc59d;color:#2f7a48}
.fc2-ok[aria-pressed=true],.fc2-ok:hover{background:#e2f1e6}
.fc2-btn:disabled,.fc2 .fc-arrow:disabled{opacity:.45;cursor:default}
.fc2-nav{display:flex;align-items:center;gap:10px}
.fc2-range{flex:1;accent-color:#23607f;min-width:0}
.fc2-empty{text-align:center;color:#5f6f7a;padding:40px 0;margin:0}
.fc2 button:focus-visible,.fc2 input:focus-visible{outline:2px solid #23607f;outline-offset:2px}

/* Advent Calendar 2026 page */
.adv-soon { display: inline-block; align-self: flex-start; width: max-content; max-width: 100%; margin: 0 0 14px; padding: 6px 16px; border-radius: 999px; background: #a32638; color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.adv-hero .lead { margin-top: 14px; }
.adv-perks { justify-content: flex-start; }
.adv-img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 14px 34px rgba(24, 37, 46, .12); }
.adv-hero .adv-img { border-radius: 22px; }
.adv-free { display: inline-block; margin-left: 18px; font-weight: 700; }
.adv-free a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .adv-free { display: block; margin: 14px 0 0; } }
.adv-show .pic .adv-img[src$="window.jpg"] { max-width: 360px; margin-inline: auto; }
.adv-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); margin-top: clamp(28px, 4vw, 48px); }
.adv-feat article { background: #fff; border-radius: 20px; padding: 26px 26px 24px; box-shadow: 0 0 0 1.5px #ece7df, 0 10px 24px rgba(24, 37, 46, .06); border-top: 8px solid var(--c); }
.adv-feat h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.adv-feat p { line-height: 1.55; }
.adv-show { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px); }
.adv-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
.adv-quotes > div { background: #fff; border-radius: 20px; padding: 28px 30px; }
.adv-quotes .fine { margin-top: 12px; font-weight: 700; }
.adv-form .check span { line-height: 1.45; }
@media (max-width: 860px) { .adv-feat, .adv-quotes { grid-template-columns: 1fr; } .adv-perks { justify-content: center; } .adv-hero .txt { text-align: center; } .adv-soon { align-self: center; } }
.adv26 { --teal: #a32638; --teal-dark: #86202f; --teal-light: #f3d6db; --field: #f6e4e7; }
.adv26 .pill { color: #fff; }
.adv-banner { display: block; padding: 10px 16px; background: #a32638; color: #fff; text-align: center; font-weight: 700; text-decoration: none; }
.adv-banner:hover { background: #86202f; color: #fff; text-decoration: none; }
.adv-unsub { display: block; margin-top: 2px; font-size: .85em; color: var(--muted); }

/* Advent Calendar 2026 in the cart (ADVENT_SALE): language, discount code */
.adv-co { display: grid; gap: 14px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.pill.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--teal); padding: 10px 22px; font-weight: 700; min-height: 46px; }
.pill.ghost:hover { background: var(--teal-light, #e8f6f6); color: var(--ink); }
.code-msg { margin: 0; font-weight: 700; font-size: .95rem; min-height: 1.2em; }
.code-msg.ok { color: #1f6f4a; }
.code-msg.bad { color: #a32638; }
.cart-total s { color: var(--muted); font-size: 1.1rem; font-weight: 400; margin-right: 8px; }
.pill.add-adv { font-size: 1rem; padding: 18px 32px; }

/* the calendar's buy button: always advent red with white text (sale page, e-books card) */
.pill.add.add-adv:not(.in) { background: #a32638; color: #fff; }
.pill.add.add-adv:not(.in):hover { background: #86202f; color: #fff; }
.pill.add.add-adv.in { box-shadow: inset 0 0 0 1.5px #a32638; }
/* menu: way into the calendar app */
.nav > a.pill.adv-login { background: #a32638; }
.nav > a.pill.adv-login:hover { background: #86202f; }
.nav .pill.adv-login { padding: 14px 20px; font-size: .9rem; }
/* the extra menu button needs room: two-line logo and tighter gaps until the screen is wide enough (only where the button exists) */
@media (min-width: 1101px) and (max-width: 1900px) {
  .site-header:has(.adv-login) .logo { white-space: normal; max-width: 190px; font-size: 1.05rem; line-height: 1.25; }
  .site-header:has(.adv-login) .nav { gap: 16px; }
  .site-header:has(.adv-login) .nav .pill { padding: 12px 14px; font-size: .82rem; }
}
@media (min-width: 701px) and (max-width: 1100px) {   /* same as the phone menu (max-width: 700px above) */
  .site-header:has(.adv-login) .menu-btn { display: block; order: 3; }
  .site-header:has(.adv-login) .cart-link { order: 2; margin-left: auto; }
  .site-header:has(.adv-login) .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--grey); flex-direction: column; align-items: flex-start; gap: 18px; padding: 10px clamp(16px, 4vw, 58px) 28px; display: none; border-bottom: 1px solid #d9d6d7; }
  .site-header:has(.adv-login) .nav.open { display: flex; }
  .site-header:has(.adv-login) .nav > a, .site-header:has(.adv-login) .dd > button { font-size: 1.3rem; font-family: var(--display); }
}
/* e-books listing: the calendar card (landscape cover) */
.adv-card { grid-column: 1 / -1; justify-self: center; width: min(100%, 455px); }   /* first and alone in its row, like the "more e-books" card at the end */
.adv-card .pc-cover img { max-width: 320px; border-radius: 10px; }
.adv-card .pc-more { color: #a32638; }
/* cart with the Advent Calendar: Christmas red instead of teal (class set by site.js) */
.cart-advent { --teal: #a32638; --teal-dark: #86202f; --teal-light: #f3d6db; --field: #f3d6db; }
.cart-advent .field input:focus, .cart-advent .field select:focus { border-color: #a32638; box-shadow: 0 0 0 3px rgba(163, 38, 56, .25); }
.cart-advent .form .pill, .cart-advent .form .pill:hover { color: #fff; }
.cart-advent .pill.ghost { background: #a32638; box-shadow: none; }
.cart-advent .pill.ghost:hover { background: #86202f; }
.cart-advent .cur-switch button { border-color: #a32638; }
.cart-advent .cur-switch button[aria-pressed="true"] { background: #a32638; color: #fff; }
/* Advent Calendar 2026 – the student's discount codes in the Student's Section (site.js adventCodes): red card, snowflakes, gold, coupon-style codes */
.adv-codes{position:relative;overflow:hidden;color:#fff;border-radius:16px;padding:22px 22px 24px;margin:0 0 18px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' opacity='.15'%3E%3Cpath d='M20 10v20M10 20h20M13 13l14 14M27 13L13 27'/%3E%3Cpath d='M85 55v14M78 62h14M80 57l10 10M90 57l-10 10'/%3E%3Cpath d='M40 88v10M35 93h10'/%3E%3C/g%3E%3Cg fill='%23ffffff' opacity='.2'%3E%3Ccircle cx='60' cy='22' r='1.6'/%3E%3Ccircle cx='104' cy='18' r='1.2'/%3E%3Ccircle cx='12' cy='62' r='1.4'/%3E%3Ccircle cx='96' cy='104' r='1.8'/%3E%3Ccircle cx='66' cy='112' r='1.2'/%3E%3C/g%3E%3C/svg%3E") 0 0/120px 120px,linear-gradient(160deg,#b52a3e 0%,#a32638 45%,#7f1c2b 100%);box-shadow:0 6px 18px rgba(127,28,43,.22)}
.adv-codes::before{content:"";position:absolute;top:0;bottom:0;right:44px;width:14px;background:linear-gradient(90deg,#d8b45c,#f1d98f 50%,#c9a24a)}
.adv-codes::after{content:"";position:absolute;top:-6px;right:28px;width:46px;height:30px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;
  background:radial-gradient(circle at 50% 70%,#c9a24a 0 5px,transparent 6px),radial-gradient(ellipse at 22% 60%,#f1d98f 0 9px,transparent 10px),radial-gradient(ellipse at 78% 60%,#e5c879 0 9px,transparent 10px)}
.adv-codes>*{position:relative;z-index:1;max-width:calc(100% - 64px)}
.adv-codes-eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#f1d98f;font-weight:700;margin:0 0 6px}
.adv-codes-h{font-family:Manrope,sans-serif;font-size:1.45rem;line-height:1.2;margin:0 0 10px;color:#fff}
.adv-codes p{margin:0 0 14px;line-height:1.5;color:#fbeef0}
.adv-codes ul{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px}
.adv-codes li{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fffaf0;color:#3b1a20;border-radius:10px;padding:10px 14px;
  border:2px dashed #c9a24a;box-shadow:0 2px 0 rgba(0,0,0,.08)}
.adv-codes code{font-size:1.05rem;font-weight:800;letter-spacing:.04em;color:#a32638;overflow-wrap:anywhere}
.adv-codes code::before{content:"🎁 ";font-weight:400}
.adv-codes code.off{color:#9a8f86;text-decoration:line-through;font-weight:400}
.adv-codes-copy{border:0;background:#c9a24a;color:#3b1a20;border-radius:999px;padding:6px 16px;font:inherit;font-size:.9rem;font-weight:700;cursor:pointer;white-space:nowrap}
.adv-codes-copy:hover{background:#e0bf6c}
.adv-codes-st{font-size:.9rem;color:#8a7f76;white-space:nowrap}
.adv-codes-go{display:inline-block;background:#fff;color:#a32638;border-radius:999px;padding:10px 22px;font-weight:800;text-decoration:none;box-shadow:0 3px 0 #c9a24a}
.adv-codes-go:hover{background:#fffaf0;color:#86202f;text-decoration:none}
.adv-codes-soon{color:#f1d98f!important;font-weight:700}
@media (max-width:480px){.adv-codes::before{right:22px;width:10px}.adv-codes::after{right:8px;transform:scale(.8)}.adv-codes>*{max-width:calc(100% - 34px)}}
