/* 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.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; }
.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); }
.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)); } }
.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-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; }
.lead { 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; }
